]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
init script fixes, fixed udev
authorhackbard <hackbard>
Fri, 12 Aug 2005 15:50:44 +0000 (15:50 +0000)
committerhackbard <hackbard>
Fri, 12 Aug 2005 15:50:44 +0000 (15:50 +0000)
doc/CHANGELOG
packages/base/udev/udev
packages/hackbard/dfbsee/new_api.patch [new file with mode: 0644]
packages/hackbard/sendmail/sendmail.setup
packages/net/ntp/ntp.init
packages/security/openssh/openssh.setup

index 361f8c902b21a0921fd643fb55dfa34bef1ea1d6..9ff1b808c342286f60938b43fbf8814adb685939 100644 (file)
@@ -1,5 +1,6 @@
 *) 2005-08-12
 
+- init script fixes, fixed udev
 - more hdw-get improvements
 
 *) 2005-08-11
index 31d077929bd841e263f474a7e3388f4d5c4c03b4..86d18bc4bf9efebf6c38c8b3110cf8f10d53198d 100644 (file)
@@ -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 (file)
index 0000000..882ea6c
--- /dev/null
@@ -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);
index 8a1a76e7d561d9be48f44ae2c69bbd9616369847..c040cf0189860789b06b7bfbd87d46d202b10d49 100644 (file)
@@ -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
index f544abf95d23366e386bf915b60036be0339febb..9f9b9132f26096b2b5f5220897503eb4611c79a6 100644 (file)
@@ -1,3 +1,4 @@
 bin=ntpd
 run=ntpd
 s_value=70
+path=/usr/bin
index aff725c0f425ab5296dd28af08159161289c348b..50a9e5edb61601f76f69dbb38ee152c7c97dd7f7 100644 (file)
@@ -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. "
                }