add cups
This commit is contained in:
parent
58c9bf971f
commit
dff0d2a946
|
@ -29,6 +29,9 @@ bind-utils
|
|||
bzip2-devel
|
||||
ca-certificates
|
||||
cryptsetup-devel
|
||||
cups
|
||||
cups-client
|
||||
cups-ipptool
|
||||
dbus-devel
|
||||
dnf
|
||||
docbook-dtds
|
||||
|
|
|
@ -520,6 +520,16 @@ C /cfg/ssh - - - - -
|
|||
EOF
|
||||
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
|
||||
if [[ -d "$sysroot"/etc/NetworkManager ]]; then
|
||||
|
|
Loading…
Reference in a new issue