--- etc/config.noarch | 2 +- etc/templates/initrd.ltmpl | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/etc/config.noarch b/etc/config.noarch index 5255761..7eeb35c 100644 --- a/etc/config.noarch +++ b/etc/config.noarch @@ -2,7 +2,7 @@ packages: anaconda kernel *firmware* man hal wget samba-client gfs2-utils nfs-utils - ntfs-3g rsyslog ethtool + ntfs-3g rsyslog ethtool openssh openssh-server strace modules: sunrpc lockd floppy cramfs loop edd pcspkr squashfs diff --git a/etc/templates/initrd.ltmpl b/etc/templates/initrd.ltmpl index 03b023e..3c32852 100644 --- a/etc/templates/initrd.ltmpl +++ b/etc/templates/initrd.ltmpl @@ -34,7 +34,6 @@ symlink "udevadm" "sbin/udevinfo" copy "etc/udev/udev.conf" copy "etc/udev/rules.d/*.rules" copy "lib/udev/*" -remove "lib/udev/rules.d/*persistent*" remove "lib/udev/rules.d/*generator*" ## copy bash @@ -177,10 +176,30 @@ edit "etc/arch" "${buildarch}" ## rsyslogd copy "sbin/rsyslogd" -copy "${libdir}/rsyslog/*" +copy "usr/${libdir}/rsyslog/*" copy "etc/rsyslog.conf" +## missing files +copy "sbin/depmod" +copy "usr/sbin/sshd" +copy "usr/bin/ssh-keygen" +copy "usr/bin/strace" + +makedirs "var/empty" +makedirs "var/empty/sshd" +makedirs "var/lock" +makedirs "var/lock/rpm" +makedirs "var/run/NetworkManager" +makedirs "var/run/wpa_supplicant" +makedirs "var/lib/dhclient" + + +## security libraries +makedirs "${libdir}/security" +copy "${libdir}/security/*" + + ## architecture specific code % if basearch in ("i386", "x86_64"): copy "usr/lib/anaconda-runtime/loader/init" "sbin" -- 1.6.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list