From dff0d2a9466b7eca925f7a5b39be0d4f8fa40a70 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Nov 2018 08:55:49 +0100 Subject: [PATCH] add cups --- pkglist.txt | 3 +++ prepare-root.sh | 10 ++++++++++ 2 files changed, 13 insertions(+) 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 <