build genisis initrd on ubuntu/debian

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-01-25 14:31:03 +00:00
parent d6845031fb
commit d0652c1e3a

View File

@ -30,6 +30,7 @@ build:
dracut -m "xcat base" -f /tmp/xcatgenesis.tmp.rfs
(cd $(buildroot)/opt/xcat/share/xcat/netboot/genesis/$(DEB_BUILD_GNU_CPU)/fs/ && zcat /tmp/xcatgenesis.tmp.rfs|cpio -dumi)
cp /boot/vmlinuz-`uname -r` $(buildroot)/opt/xcat/share/xcat/netboot/genesis/$(DEB_BUILD_GNU_CPU)/kernel
chmod a+r $(buildroot)/opt/xcat/share/xcat/netboot/genesis/$(DEB_BUILD_GNU_CPU)/kernel
clean:
dh_testdir