Classification: mature

This patch creates /boot/kernel.h which is required for some kernel
modules.


2004-01-20  Enrico Scholz  <enrico.scholz@informatik.tu-chemnitz.de>
	* initial release
--- mach/scripts/mach.in~kernel	2004-01-20 16:54:41.000000000 +0100
+++ mach/scripts/mach.in	2004-02-28 01:20:24.000000000 +0100
@@ -1201,9 +1201,10 @@
         #FIXME: add mach user and group
         self.do_chroot ("echo machbuild:!!:500:500::/usr/src/rpm:/bin/bash >> /etc/passwd", fatal = True)
         self.do_chroot ("echo machbuild::500:mach >> /etc/group", fatal = True)
-        self.do_chroot ("mkdir -p /usr/src/rpm", fatal = True)
+        self.do_chroot ("mkdir -p /boot /usr/src/rpm", fatal = True)
         self.do_chroot ("chown -R machbuild:machbuild /usr/src/rpm", fatal = True)
         self.do_chroot ("su -c 'cp -p /etc/skel/.bashrc /usr/src/rpm/.bashrc || cp -p /etc/bashrc /usr/src/rpm/.bashrc || :' machbuild", fatal = True)
+        self.do_chroot ("touch /boot/kernel.h", fatal = True)
          # create dir structure and rpmmacros
         macros = open (self.rootdir + '/tmp/macros', 'w')
         macros.write ("%_topdir /usr/src/rpm\n")
