FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 03-23-2010, 12:36 PM
Martin Gracik
 
Default Added some missing files from initrd

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org