r1353 - trunk/packages/nALFS-profile

justin at linuxfromscratch.org justin at linuxfromscratch.org
Wed Jan 11 15:17:04 PST 2006


Author: justin
Date: 2006-01-11 16:17:04 -0700 (Wed, 11 Jan 2006)
New Revision: 1353

Modified:
   trunk/packages/nALFS-profile/Makefile
Log:
[trunk] Change nALFS-profile Makefile to checkout latest LFS-SVN profile instead of download the tarball.  The tarballs change often and therefore our sha1sums never match.

Modified: trunk/packages/nALFS-profile/Makefile
===================================================================
--- trunk/packages/nALFS-profile/Makefile	2006-01-11 15:58:45 UTC (rev 1352)
+++ trunk/packages/nALFS-profile/Makefile	2006-01-11 23:17:04 UTC (rev 1353)
@@ -1,12 +1,10 @@
 # nALFS profile Makefile
 
-NM= profile
+NM= nALFS-profile
 VRS= LFS-SVN
-DIR= $(VRS)
+DIR= $(NM)-$(VRS)
 
-FILE= $(NM)-$(DIR).tar.bz2
-URL-$(FILE)= http://www.linuxfromscratch.org/alfs/downloads/profiles/lfs/svn/$(FILE)
-SHA-$(FILE)= 3c749861e18c077c5a9a312760fc217cab5cc315
+URL=  svn://svn.linuxfromscratch.org/ALFS/profiles/LFS/trunk
 
 # Targets
 
@@ -16,15 +14,14 @@
 	chroot "$(MP)" $(chenv-blfs) \
 	'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
 
-stage2: Makefile $(FILE)
+stage2: Makefile 
 	$(std_build)
+	@$(call echo_message, Building)
+	@svn co -q $(URL) $(DIR)
+	cd $(DIR) ; sed -i 's@/your/$(DIR)/packages@/sources at g' config/general.ent
+	cp -av $(DIR) /root/ >$(DIR)-$@.log 2>&1
+	@touch $@	
 
-compile-stage2:
-	sed -i 's@/your/$(DIR)/packages@/sources at g' config/general.ent
-	# Temporary fix for LFS-6.1 profile
-	sed -i 's@/usr/local@/usr at g' runit.sh
-	cp -rav . /root/nALFS-profile-$(DIR)
-
 clean:
 	-rm -rf $(DIR)
 




More information about the livecd mailing list