Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bouleetbiltesting.git;a=commitdiff;h=9c04c1e2623f2935e104c48f21629977774781d2

commit 9c04c1e2623f2935e104c48f21629977774781d2
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Feb 19 23:33:11 2010 +0000

fw-initramfs-0.1-1-i686
*new package
*just for test :)

diff --git a/source/base-extra/fw-initramfs/FrugalBuild 
b/source/base-extra/fw-initramfs/FrugalBuild
new file mode 100644
index 0000000..28b505f
--- /dev/null
+++ b/source/base-extra/fw-initramfs/FrugalBuild
@@ -0,0 +1,38 @@
+# Compiling Time: 0.03 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=fw-initramfs
+pkgver=0.1
+pkgrel=1
+pkgdesc="initramfs for FrugalWare"
+url="http://www.frugalware.org";
+groups=('base-extra')
+archs=('i686' 'x86_64')
+backup=('etc/sysconfig/liveusbkey')
+urldl=http://ftp.frugalware.org/pub/other/people/bouleetbil/$pkgname/releases
+up2date="Flasttar $urldl"
+source=($urldl/$pkgname-$pkgver.tar.gz)
+signatures=("$source.asc")
+_F_cd_path="."
+Finclude kernel-module
+makedepends=('groff' 'cpio')
+unset install
+
+build() {
+       #Install the scripts if we want build a custom initramfs
+       Fbuild
+       #create a default initramfs into the chroot
+       Fsed "/usr/share/fw-initramfs/" "$Fsrcdir" *.sh
+       Fsed "/tmp/init/" "$Fsrcdir/tmp/" default.sh
+       Fsed "/usr/share/fw-initramfs/static/busybox" \
+               "$Fsrcdir/static/busybox" busybox.config
+       mkdir -p tmp
+       echo "KV=$_F_kernelmod_uname" >> default.sh
+       ./create_initramfs.sh || Fdie
+       #install static dir for the final user don't rebuild all static binary
+       Fcp static usr/share/fw-initramfs/
+       #install initramfs
+       Fmkdir boot
+       Fcp tmp/work/initramfs.igz boot/initramfs.igz
+}
+
diff --git a/source/base-extra/fw-initramfs/README.fw-initramfs 
b/source/base-extra/fw-initramfs/README.fw-initramfs
new file mode 100644
index 0000000..ee2dcb0
--- /dev/null
+++ b/source/base-extra/fw-initramfs/README.fw-initramfs
@@ -0,0 +1,3 @@
+For use this initramfs you should add to your menu.lst :
+initrd /boot/initramfs.igz
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to