This commit is contained in:
Harald Hoyer 2018-11-12 08:55:49 +01:00
parent 58c9bf971f
commit dff0d2a946
2 changed files with 13 additions and 0 deletions

View file

@ -29,6 +29,9 @@ bind-utils
bzip2-devel bzip2-devel
ca-certificates ca-certificates
cryptsetup-devel cryptsetup-devel
cups
cups-client
cups-ipptool
dbus-devel dbus-devel
dnf dnf
docbook-dtds docbook-dtds

View file

@ -520,6 +520,16 @@ C /cfg/ssh - - - - -
EOF EOF
fi fi
#---------------
# cups
if [[ -d "$sysroot"/etc/cups ]]; then
mv "$sysroot"/etc/cups "$sysroot"/usr/share/factory/cfg/cups
ln -sfnr "$sysroot"/cfg/cups "$sysroot"/etc/cups
cat >> "$sysroot"/usr/lib/tmpfiles.d/cups.conf <<EOF
C /cfg/cups - - - - -
EOF
fi
#--------------- #---------------
# NetworkManager # NetworkManager
if [[ -d "$sysroot"/etc/NetworkManager ]]; then if [[ -d "$sysroot"/etc/NetworkManager ]]; then