add cups
This commit is contained in:
parent
58c9bf971f
commit
dff0d2a946
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue