r323 - in x86/branches/6.1: . packages packages/nALFS-profile

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Sat Jul 9 19:42:15 PDT 2005


Author: jhuntwork
Date: 2005-07-09 20:42:14 -0600 (Sat, 09 Jul 2005)
New Revision: 323

Added:
   x86/branches/6.1/packages/nALFS-profile/
   x86/branches/6.1/packages/nALFS-profile/Makefile
Modified:
   x86/branches/6.1/Makefile
Log:
Added nALFS profile

Modified: x86/branches/6.1/Makefile
===================================================================
--- x86/branches/6.1/Makefile	2005-07-10 01:54:02 UTC (rev 322)
+++ x86/branches/6.1/Makefile	2005-07-10 02:42:14 UTC (rev 323)
@@ -180,7 +180,8 @@
 	ch-startup-notification ch-gvim ch-xfce ch-lua ch-ion ch-irssi ch-xchat ch-tcpwrappers ch-portmap \
 	ch-nfs-utils ch-traceroute ch-dialog ch-ncftp ch-pciutils ch-nALFS ch-device-mapper ch-LVM2 ch-dhcpcd \
 	ch-distcc ch-ppp ch-rp-pppoe ch-libaal ch-reiser4progs ch-squashfs ch-cpio ch-mutt ch-msmtp ch-slrn \
-	ch-raidtools ch-eject ch-linux ch-klibc ch-unionfs ch-initramfs ch-cdrtools ch-blfs-bootscripts ch-syslinux
+	ch-raidtools ch-eject ch-linux ch-klibc ch-unionfs ch-initramfs ch-cdrtools ch-blfs-bootscripts ch-syslinux \
+	ch-nALFS-profile
 
 # Rules for building tools/stage1
 # These can be called individually, if necessary
@@ -891,6 +892,10 @@
 	make -C $(PKG)/$@ chroot
 	make unmount
 
+nALFS-profile: prep-chroot
+	make -C $(PKG)/$@ chroot
+	make unmount
+
 initramfs: prep-chroot
 	make -C $@ chroot
 	make unmount
@@ -1416,6 +1421,9 @@
 ch-unionfs: popdev
 	make -C $(PKG)/unionfs stage2
 
+ch-nALFS-profile: popdev
+	make -C $(PKG)/nALFS-profile stage2
+
 ch-strip: popdev
 	@$(WD)/bin/find /{,usr/}{bin,lib,sbin} -type f -exec $(WD)/bin/strip --strip-debug '{}' ';'
 

Added: x86/branches/6.1/packages/nALFS-profile/Makefile
===================================================================
--- x86/branches/6.1/packages/nALFS-profile/Makefile	2005-07-10 01:54:02 UTC (rev 322)
+++ x86/branches/6.1/packages/nALFS-profile/Makefile	2005-07-10 02:42:14 UTC (rev 323)
@@ -0,0 +1,29 @@
+# nALFS profile Makefile
+
+# Package versions
+NM= profile
+VRS= LFS-6.1
+DIR= $(VRS)
+FILE= $(DIR).tar.bz2
+URL= http://www.linuxfromscratch.org/alfs/downloads/profiles/stable/$(NM)/$(FILE)
+
+# RULES
+
+.PHONY: stage1 clean stage2 chroot
+
+chroot:
+	@chroot "$(MP)" $(chenv3) 'cd $(ROOT) && make ch-$(NM) $(chbash2)'
+
+stage2:
+	@echo ""
+	@echo "=====> Building $(NM) in chroot"
+	@echo ""
+	@if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \
+	@if [ ! -d /root/$(DIR) ] ; then unpack $(SRC)/$(FILE) && \
+	 sed -i 's@/your/$(DIR)/packages@/sources at g' $(DIR)/config/general.ent && \
+	 cp -ra $(DIR) /root/nALFS-profile-$(DIR) ; fi
+	@make clean
+	 
+# Does what it says
+clean:
+	@-rm -rf $(DIR)




More information about the livecd mailing list