From: hackbard Date: Fri, 12 Aug 2005 15:50:44 +0000 (+0000) Subject: init script fixes, fixed udev X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f419bd6336b0bccc61a567dbf5444875df74469;p=hdw-linux%2Fhdw-linux.git init script fixes, fixed udev --- diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 361f8c9..9ff1b80 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -1,5 +1,6 @@ *) 2005-08-12 +- init script fixes, fixed udev - more hdw-get improvements *) 2005-08-11 diff --git a/packages/base/udev/udev b/packages/base/udev/udev index 31d0779..86d18bc 100644 --- a/packages/base/udev/udev +++ b/packages/base/udev/udev @@ -26,12 +26,9 @@ post_install() { # config stuff mkdir -p $u_root/etc/udev/{rules,permissions}.d cp etc/udev/udev.rules* $u_root/etc/udev/rules.d/ - cp etc/udev/udev.permissions* $u_root/etc/udev/permissions.d/ + cp etc/udev/udev.permissions $u_root/etc/udev/permissions.d/ mv $u_root/etc/udev/rules.d/udev.rules{,.orig} - mv $u_root/etc/udev/permissions.d/udev.permissions{,.orig} ln -svf udev.rules.devfs $u_root/etc/udev/rules.d/udev.rules - ln -svf udev.permissions.gentoo \ - $u_root/etc/udev/permissions.d/udev.permissions # init script if [ "$hdw_status" = "2" ] ; then cp $confdir/init_udev.sh $u_root/etc/init.d/udev diff --git a/packages/hackbard/dfbsee/new_api.patch b/packages/hackbard/dfbsee/new_api.patch new file mode 100644 index 0000000..882ea6c --- /dev/null +++ b/packages/hackbard/dfbsee/new_api.patch @@ -0,0 +1,22 @@ +--- ./src/main.c.orig 2005-08-12 05:48:27.000000000 +0200 ++++ ./src/main.c 2005-08-12 05:50:41.000000000 +0200 +@@ -53,7 +53,7 @@ + main (int argc, + char **argv) + { +- DFBCardCapabilities caps; ++ DFBGraphicsDeviceDescription desc; + DFBSurfaceDescription dsc; + IDirectFBEventBuffer *buffer; + IDirectFBSurface *image_area; +@@ -78,8 +78,8 @@ + /* create the super interface */ + DFBCHECK (DirectFBCreate (&dfb)); + +- dfb->GetCardCapabilities (dfb, &caps); +- hw_stretchblit = caps.acceleration_mask & DFXL_STRETCHBLIT; ++ dfb->GetDeviceDescription (dfb, &desc); ++ hw_stretchblit = desc.acceleration_mask & DFXL_STRETCHBLIT; + + dfb->SetCooperativeLevel (dfb, DFSCL_FULLSCREEN); + diff --git a/packages/hackbard/sendmail/sendmail.setup b/packages/hackbard/sendmail/sendmail.setup index 8a1a76e..c040cf0 100644 --- a/packages/hackbard/sendmail/sendmail.setup +++ b/packages/hackbard/sendmail/sendmail.setup @@ -3,6 +3,7 @@ setup_block() { chmod 1777 /tmp chmod 1777 /var/mail mkdir -p /var/spool/mqueue + mkdir -p /var/spool/clientmqueue chown smmsp /var/spool/clientmqueue [ -f /var/spool/clientmqueue/sm-client.st ] && \ chown smmsp /var/spool/clientmqueue/sm-client.st diff --git a/packages/net/ntp/ntp.init b/packages/net/ntp/ntp.init index f544abf..9f9b913 100644 --- a/packages/net/ntp/ntp.init +++ b/packages/net/ntp/ntp.init @@ -1,3 +1,4 @@ bin=ntpd run=ntpd s_value=70 +path=/usr/bin diff --git a/packages/security/openssh/openssh.setup b/packages/security/openssh/openssh.setup index aff725c..50a9e5e 100644 --- a/packages/security/openssh/openssh.setup +++ b/packages/security/openssh/openssh.setup @@ -5,6 +5,7 @@ setup_block() { -f /etc/ssh/ssh_host_dsa_key -N "" /usr/bin/ssh-keygen -t rsa -b 1024 \ -f /etc/ssh/ssh_host_rsa_key -N "" + touch /var/log/lastlog echo "done. " }