diff --git a/pkglist.txt b/pkglist.txt index e0966af..5a64831 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -29,6 +29,9 @@ bind-utils bzip2-devel ca-certificates cryptsetup-devel +cups +cups-client +cups-ipptool dbus-devel dnf docbook-dtds diff --git a/prepare-root.sh b/prepare-root.sh index 3c1f236..eef5d6c 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -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 <