mirror of
https://github.com/KDE/kde-linux.git
synced 2025-12-24 00:18:23 -05:00
Add samba and kdenetwork-filesharing to build
This commit is contained in:
committed by
Harald Sitter
parent
a3f76e06e7
commit
367f2f7760
@@ -50,7 +50,7 @@ WithNetwork=true
|
||||
# Make sure kernel-install knows where we expect the ESP to be mounted so it can create correct loader entries.
|
||||
@Environment=BOOT_MNT=/efi-template
|
||||
# TODO: revisit pulseaudio qt it should be pulled in implicitly but isn't right now
|
||||
@Environment=KDE_BUILDER_TARGET="pulseaudio-qt workspace dolphin dolphin-plugins ffmpegthumbs kdegraphics-thumbnailers kimageformats kio-admin kio-fuse kio-gdrive konsole kpmcore kate spectacle xwaylandvideobridge partitionmanager kde-inotify-survey kdeconnect-kde krdp kwalletmanager"
|
||||
@Environment=KDE_BUILDER_TARGET="pulseaudio-qt workspace dolphin dolphin-plugins ffmpegthumbs kdegraphics-thumbnailers kimageformats kio-admin kio-fuse kio-gdrive konsole kpmcore kate spectacle xwaylandvideobridge partitionmanager kde-inotify-survey kdeconnect-kde krdp kwalletmanager kdenetwork-filesharing"
|
||||
|
||||
[Host]
|
||||
QemuGui=yes
|
||||
|
||||
@@ -46,6 +46,8 @@ pacman --sync --noconfirm smbclient
|
||||
pacman --sync --noconfirm python-atspi
|
||||
# For print-manager
|
||||
pacman --sync --noconfirm cups cups-browsed system-config-printer
|
||||
# For kdenetwork-filesharing
|
||||
pacman --sync --noconfirm samba
|
||||
# For spectacle
|
||||
pacman --sync --noconfirm opencv
|
||||
# For fingerprint login
|
||||
@@ -224,6 +226,19 @@ flatpak remote-modify --collection-id=org.flathub.Stable flathub
|
||||
flatpak install --noninteractive --assumeyes org.mozilla.firefox
|
||||
mv /var/lib/flatpak / # we'll extract this and later mount it into place
|
||||
|
||||
# Samba usershare setup
|
||||
mkdir -p /var/lib/samba/sambashares
|
||||
chgrp sambashares /var/lib/samba/sambashares
|
||||
mkdir -p /etc/samba
|
||||
|
||||
cat <<- EOF >> /etc/samba/smb.conf
|
||||
[global]
|
||||
usershare path = /var/lib/samba/sambashares
|
||||
usershare max shares = 100
|
||||
usershare allow guests = yes # optional, negotiable
|
||||
usershare owner only = yes
|
||||
EOF
|
||||
|
||||
plymouth-set-default-theme breeze-bgrt
|
||||
|
||||
cd /tmp
|
||||
|
||||
Reference in New Issue
Block a user