Changeset 2052
- Timestamp:
- 08/30/07 22:23:50 (1 year ago)
- Files:
-
- branches/minimal/Makefile (modified) (1 diff)
- branches/minimal/doc/lfscd-remastering-howto.txt (modified) (7 diffs)
- branches/minimal/etc/profile (modified) (1 diff)
- branches/minimal/isolinux/options1.msg (modified) (2 diffs)
- branches/minimal/isolinux/options2.msg (modified) (3 diffs)
- branches/minimal/isolinux/options3.msg (modified) (1 diff)
- branches/minimal/isolinux/options4.msg (modified) (2 diffs)
- branches/minimal/packages/LFS-BOOK/Makefile (modified) (2 diffs)
- branches/minimal/packages/bash/Makefile (modified) (1 diff)
- branches/minimal/packages/bzip2/Makefile (modified) (1 diff)
- branches/minimal/packages/coreutils/Makefile (modified) (1 diff)
- branches/minimal/packages/db/Makefile (modified) (1 diff)
- branches/minimal/packages/jhalfs/Makefile (modified) (1 diff)
- branches/minimal/packages/lfs-bootscripts/Makefile (modified) (1 diff)
- branches/minimal/packages/linux-headers/Makefile (modified) (1 diff)
- branches/minimal/packages/linux/Makefile (modified) (1 diff)
- branches/minimal/packages/linux64/Makefile (modified) (1 diff)
- branches/minimal/packages/man-db/Makefile (modified) (3 diffs)
- branches/minimal/packages/ncurses/Makefile (modified) (1 diff)
- branches/minimal/packages/readline/Makefile (modified) (1 diff)
- branches/minimal/packages/texinfo/Makefile (modified) (1 diff)
- branches/minimal/packages/udev/Makefile (modified) (2 diffs)
- branches/minimal/packages/vim/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/minimal/Makefile
r2033 r2052 33 33 34 34 export CD_ARCH := $(shell uname -m | sed 's|i[3456]|x|') 35 export VERSION ?= $(CD_ARCH)-6.3-min -pre235 export VERSION ?= $(CD_ARCH)-6.3-min 36 36 export CFLAGS ?= -O2 -pipe -s -fno-strict-aliasing 37 37 branches/minimal/doc/lfscd-remastering-howto.txt
r1916 r2052 1 2 1 AUTHOR: Alexander E. Patrakov <patrakov@ums.usu.ru>, Sylvie Migneault <alisou@alixe.org> 3 2 4 DATE: 200 6-08-063 DATE: 2007-08-28 5 4 6 5 LICENSE: GNU Free Documentation License Version 1.2 7 6 8 SYNOPSIS: lfscd-remastering-HOWTO, for LFS LiveCD version 6. 2-x7 SYNOPSIS: lfscd-remastering-HOWTO, for LFS LiveCD version 6.3 9 8 10 DESCRIPTION: This is a guide that will show you how to remaster LFS liveCD-x86-6.2-x9 DESCRIPTION: This is a guide that shows you how to remaster LFS LiveCD 6.3 11 10 12 PREREQUISITES: LFS LiveCD 6. 2-x.11 PREREQUISITES: LFS LiveCD 6.3 13 12 14 13 For LFS LiveCD 6.1-x, see the old "lfscd-remastering-howto-6.1.txt" hint by 15 14 Sylvie Migneault. For LFS LiveCD 6.1.1-x, the old hint should work if one 16 globally replaces LFS_CD with lfslivecd-VERSION, e.g. lfslivecd-x86-6.1.1-3 15 globally replaces LFS_CD with lfslivecd-VERSION, e.g. lfslivecd-x86-6.1.1-3. 16 17 For LFS LiveCD 6.2-x, see the old "lfscd-remastering-howto-6.2.txt" hint. 17 18 18 19 HINT: … … 87 88 as static nodes. 88 89 90 Copy the DNS configuration into the chroot: 91 cp /etc/resolv.conf $WORK/root/etc/resolv.conf 92 89 93 Chroot to the filesystem: 90 94 chroot $WORK/root … … 93 97 additional packages you want. Modify other files as necessary. 94 98 95 Get the initramfs files as a zip archive from 96 http://wiki.linuxfromscratch.org/livecd/browser/trunk/packages/initramfs99 Check out the initramfs files: 100 svn co svn://svn.linuxfromscratch.org/livecd/trunk/packages/initramfs 97 101 98 Unzip the archive. Remove the "include $(ROOT)/scripts/functions" line from the 99 Makefile. Generate the initramfs image for your CD: 100 make compile-stage2 VERSION="x86-6.3-custom" 102 Remove the "include $(ROOT)/scripts/functions" and 103 "cp initramfs_data.cpio.gz /boot/isolinux/initramfs_data.cpio.gz" lines 104 from the Makefile. Generate the initramfs image for your CD: 101 105 102 (you can replace the "x86-6.3-custom" with your own string). This produces the 103 initramfs_data.cpio.gz file in the current directory. If this directory is not 104 "/build", copy it to /build: 106 For x86: 107 make compile-stage2 VERSION="x86-6.3-custom" LINKER=ld-linux.so.2 108 109 For x86_64: 110 make compile-stage2 VERSION="x86_64-6.3-custom" \ 111 LINKER=ld-linux-x86-64.so.2 64bit=true 112 113 (you can replace the "6.3-custom" with your own string). This produces the 114 initramfs_data.cpio.gz file in the current directory. Copy it to /build: 105 115 cp initramfs_data.cpio.gz /build 106 116 … … 114 124 rmdir $WORK/root/build 115 125 116 Clean up bash history :126 Clean up bash history and DNS configuration: 117 127 rm $WORK/root/root/.bash_history 128 rm $WORK/root/etc/resolv.conf 118 129 119 130 You may also want to remove other history files. … … 143 154 Replace the stock initramfs image with your own: 144 155 cp $WORK/build/initramfs_data.cpio.gz \ 145 $WORK/iso/boot/isolinux/ini ramfs_data.cpio.gz156 $WORK/iso/boot/isolinux/initramfs_data.cpio.gz 146 157 147 158 Recompress the root.ext2 file: 148 159 mkzftree -F $WORK/root.ext2 $WORK/iso/root.ext2 149 160 150 Recreate the CD image: 161 Recreate the CD image (the string avter "lfslivecd-" must be the same as you 162 used when creating the initramfs): 151 163 cd $WORK/iso ; mkisofs -z -R -l --allow-leading-dots -D -o \ 152 164 ../lfslivecd-x86-6.3-custom.iso -b boot/isolinux/isolinux.bin \ … … 165 177 166 178 [2005-11-07] 167 * Initial hint by Sylvie Migneault .179 * Initial hint by Sylvie Migneault 168 180 169 181 [2006-08-06] … … 172 184 [2007-06-11] 173 185 * Updated for 6.3-pre2 186 187 [2007-08-28] 188 * Updated for the final 6.3 version branches/minimal/etc/profile
r1956 r2052 7 7 XML_CATALOG_FILES="/usr/share/docbook/xsl-stylesheets-1.69.1/catalog.xml /etc/xml/catalog" 8 8 9 WWW_HOME="/usr/share/LFS-BOOK- SVN-HTML/index.html"9 WWW_HOME="/usr/share/LFS-BOOK-6.3-HTML/index.html" 10 10 11 11 NNTPSERVER=news.gmane.org branches/minimal/isolinux/options1.msg
r2020 r2052 5 5 6 6 Options [page 1 of 4]: 7 vga=[res]8 Examples:9 vga=795 (1280x1024x24) vga=792 (1024x768x24) vga=789 (800x600x24)10 vga=794 (1280x1024x16) vga=791 (1024x768x16) vga=788 (800x600x16)11 12 NOTE: This is for the framebuffer console and has nothing to do with X13 server resolution. Also, it causes some X video drivers (e.g., "s3virge") to14 malfunction. X server bug reports will be ignored if you use this option.15 7 16 8 TZ=[timezone] … … 27 19 Example: LANG=fr_FR.UTF-8 28 20 29 If you don't specify your timezone or locale at the boot prompt,30 a configuration dialog will appear later during boot.21 If you don't specify your timezone or locale at the boot prompt, 22 a configuration dialog will appear later during boot. 31 23 24 nodhcp 25 Prevents the CD from attempting to obtain an IP address automatically. 26 May be required for wireless networking, because the WEP or WPA key 27 needs to be set up first. 28 branches/minimal/isolinux/options2.msg
r2020 r2052 5 5 6 6 Options [page 2 of 4]: 7 7 8 toram 8 9 Loads the whole CD contents (except sources and proprietary video … … 11 12 Note: this needs at least 512 MB of RAM, and you also need 12 13 to enable swap if you have less than 768 MB of RAM. 13 14 nodhcp15 Prevents the CD from attempting to obtain an IP address automatically.16 May be required for wireless networking, because the WEP or WPA key17 needs to be set up first.18 14 19 15 rootdelay=X … … 30 26 See /root/README for details. 31 27 28 branches/minimal/isolinux/options3.msg
r2020 r2052 15 15 lead to data loss. 16 16 17 new_firewire18 Uses the new FireWire drivers.19 20 17 load=module1,module2,... 21 18 Loads the specified modules unconditionally from initramfs. Use if your SCSI branches/minimal/isolinux/options4.msg
r2027 r2052 5 5 6 6 Options [page 4 of 4]: 7 new_firewire 8 Uses the new FireWire stack. 9 7 10 nomsi noapic nolapic pci=noacpi acpi=off blacklist=yenta-socket ide=nodma 8 11 These options work around various chipset bugs. Try them one-by-one in the … … 12 15 brltty=drv[,dev[,tbl]] 13 16 Example: brltty=bm,usb: 14 15 17 Enables a refreshable Braille display supported by driver drv, connected to 16 18 device dev, with a translation table tbl. The example specifies a BAUM 17 19 SuperVario 40 Braille display connected by USB with default Braille table. 20 21 vga=[res] 22 Examples: 23 vga=795 (1280x1024x24) vga=792 (1024x768x24) vga=789 (800x600x24) 24 vga=794 (1280x1024x16) vga=791 (1024x768x16) vga=788 (800x600x16) 25 26 NOTE: This is for the framebuffer console and has nothing to do with X 27 server resolution. Also, it causes some X video drivers (e.g., "s3virge") to 28 malfunction. X server bug reports will be ignored if you use this option. branches/minimal/packages/LFS-BOOK/Makefile
r2020 r2052 2 2 3 3 NM= LFS-BOOK 4 VRS= SVN4 VRS= 6.3 5 5 DIRBASE= $(NM)-$(VRS) 6 6 DIR= $(DIRBASE)-XML … … 11 11 #SHA-$(FILE)= 729bcf04d8e4ed0af3c58daf0d289e94d6385052 12 12 13 REV= 83 1913 REV= 8348 14 14 REVPARM= -r $(REV) 15 15 16 16 ifeq ($(CD_ARCH),x86) 17 URL= svn://svn.linuxfromscratch.org/LFS/ branches/6.3/BOOK17 URL= svn://svn.linuxfromscratch.org/LFS/tags/6.3/BOOK 18 18 endif 19 19 ifeq ($(CD_ARCH),x86_64) branches/minimal/packages/bash/Makefile
r1873 r2052 10 10 11 11 PATCH1= $(DIR)-fixes-5.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 13 SHA-$(PATCH1)= b85f303e6317fe50b6f5d0c204e2e68824010a88 14 14 branches/minimal/packages/bzip2/Makefile
r1871 r2052 10 10 11 11 PATCH1= $(DIR)-install_docs-1.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 13 SHA-$(PATCH1)= 86fa168b260bb12651ebfa6d47939e926e067036 14 14 branches/minimal/packages/coreutils/Makefile
r1839 r2052 10 10 11 11 PATCH1= $(DIR)-uname-1.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 13 SHA-$(PATCH1)= 42cc795e56b96994a4dc9e8f2a8dd72b6a25665f 14 14 15 15 PATCH2= $(DIR)-suppress_uptime_kill_su-1.patch 16 URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH2)16 URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH2) 17 17 SHA-$(PATCH2)= e1e783efd515639b78627c37025b96168594f408 18 18 19 19 PATCH3= $(DIR)-i18n-1.patch 20 URL-$(PATCH3)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH3)20 URL-$(PATCH3)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH3) 21 21 SHA-$(PATCH3)= 5db7b7919910ccda018d01f2fc1b65e1c1da954d 22 22 branches/minimal/packages/db/Makefile
r1820 r2052 10 10 11 11 PATCH1= $(DIR)-fixes-1.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 13 SHA-$(PATCH1)= adf217ef8606f25b6fd4e7c9a0c1ea9f01c4f250 14 14 branches/minimal/packages/jhalfs/Makefile
r1991 r2052 2 2 3 3 NM= jhalfs 4 VRS= 2.3 4 VRS= 2.3.1 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 8 URL-$(FILE)= http://www.linuxfromscratch.org/alfs/downloads/jhalfs/stable/$(FILE) 9 SHA-$(FILE)= 1d4d9530692cced7bccf10122d28ff814d5195a69 SHA-$(FILE)= 95a41e2e1c3ff01feaaefafeda7d187760a24dfe 10 10 11 11 FILE1= configuration branches/minimal/packages/lfs-bootscripts/Makefile
r2020 r2052 2 2 3 3 NM= lfs-bootscripts 4 VRS= 200708134 VRS= 6.3 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 URL-$(FILE)= http://www.linuxfromscratch.org/lfs/downloads/ development/$(FILE)9 SHA-$(FILE)= ab777ce44476494caba80518be9ced4f724a89d58 URL-$(FILE)= http://www.linuxfromscratch.org/lfs/downloads/6.3/$(FILE) 9 SHA-$(FILE)= f2447b29f99e9b4d6700d89a4d572584951531b8 10 10 11 11 PATCH1= $(NM)-livecd-1.patch branches/minimal/packages/linux-headers/Makefile
r2020 r2052 2 2 3 3 NM= linux 4 VRS= 2.6.22. 24 VRS= 2.6.22.5 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 8 URL-$(FILE)= http://www.kernel.org/pub/linux/kernel/v2.6/$(FILE) 9 SHA-$(FILE)= e2606e42a3b40e16f65f750f1dd7cf6a580ea71a9 SHA-$(FILE)= a04e4efb32884ab95fe0ec38d60552cf3e0c49b8 10 10 11 11 # Targets branches/minimal/packages/linux/Makefile
r2027 r2052 2 2 3 3 NM= linux 4 VRS= 2.6.22. 24 VRS= 2.6.22.5 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 8 URL-$(FILE)= http://www.kernel.org/pub/linux/kernel/v2.6/$(FILE) 9 SHA-$(FILE)= e2606e42a3b40e16f65f750f1dd7cf6a580ea71a9 SHA-$(FILE)= a04e4efb32884ab95fe0ec38d60552cf3e0c49b8 10 10 11 11 PATCH1= reiser4-for-2.6.22-2.patch.gz branches/minimal/packages/linux64/Makefile
r2027 r2052 2 2 3 3 NM= linux 4 VRS= 2.6.22. 24 VRS= 2.6.22.5 5 5 DIR= $(NM)-$(VRS) 6 6 7 7 FILE= $(DIR).tar.bz2 8 8 URL-$(FILE)= http://www.kernel.org/pub/linux/kernel/v2.6/$(FILE) 9 SHA-$(FILE)= e2606e42a3b40e16f65f750f1dd7cf6a580ea71a9 SHA-$(FILE)= a04e4efb32884ab95fe0ec38d60552cf3e0c49b8 10 10 11 11 PATCH1= reiser4-for-2.6.22-2.patch.gz branches/minimal/packages/man-db/Makefile
r1839 r2052 9 9 SHA-$(FILE)= 5c6ba8eb287a69f14433feb34e720b066536d163 10 10 11 PATCH1= $(DIR)-fixes-1.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 SHA-$(PATCH1)= 5ac2a79c2e471991503173982728e65f60f3e071 14 11 15 # Targets 12 16 … … 17 21 'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 18 22 19 stage2: Makefile $(FILE) 23 stage2: Makefile $(FILE) $(PATCH1) 20 24 $(std_build) 21 25 … … 31 35 echo '#define VGRIND "/usr/bin/vgrind"' >>include/manconfig.h.in 32 36 echo '#define GRAP "/usr/bin/grap"' >>include/manconfig.h.in 37 patch -Np1 -i ../$(PATCH1) 33 38 ./configure --prefix=/usr --enable-mb-groff --disable-setuid 34 39 make branches/minimal/packages/ncurses/Makefile
r1873 r2052 10 10 11 11 PATCH1=$(DIR)-coverity_fixes-1.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 13 SHA-$(PATCH1)= ad7a49ad6e35e61d975700226279594106842f59 14 14 branches/minimal/packages/readline/Makefile
r1873 r2052 10 10 11 11 PATCH1= $(DIR)-fixes-3.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 13 SHA-$(PATCH1)= de765322d083e26685469f84d75de7465a866cfa 14 14 branches/minimal/packages/texinfo/Makefile
r1953 r2052 10 10 11 11 PATCH1= $(DIR)-tempfile_fix-1.patch 12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)12 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 13 13 SHA-$(PATCH1)= 2ead28cb8e2679cdb53e1e4908209f0a31397dfe 14 14 15 15 PATCH2= $(DIR)-multibyte-1.patch 16 URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH2)16 URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH2) 17 17 SHA-$(PATCH2)= b97ae3468c03f8389dbf5c9b6eed64f996f9ed5c 18 18 branches/minimal/packages/udev/Makefile
r2020 r2052 3 3 NM= udev 4 4 VRS= 113 5 CONFVRS= 200707315 CONFVRS= 6.3 6 6 DIR= $(NM)-$(VRS) 7 7 CONFDIR=$(NM)-config-$(CONFVRS) … … 12 12 13 13 FILE1= $(CONFDIR).tar.bz2 14 URL-$(FILE1)= http://www.linuxfromscratch.org/lfs/downloads/ development/$(FILE1)15 SHA-$(FILE1)= f2163c98f3cae0312ec13e4efbbbe9a9af4a8d1914 URL-$(FILE1)= http://www.linuxfromscratch.org/lfs/downloads/6.3/$(FILE1) 15 SHA-$(FILE1)= c21ade3df7c121694dd56668b0fdc2f3995e2779 16 16 17 17 # Targets branches/minimal/packages/vim/Makefile
r1945 r2052 14 14 15 15 PATCH1= $(NM)-$(VRS)-fixes-1.patch 16 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH1)16 URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH1) 17 17 SHA-$(PATCH1)= 6005e12fc31ce07a4da2806ea4c503cb569f235e 18 18 19 19 PATCH2= $(NM)-$(VRS)-mandir-1.patch 20 URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/lfs/ development/$(PATCH2)20 URL-$(PATCH2)= http://www.linuxfromscratch.org/patches/lfs/6.3/$(PATCH2) 21 21 SHA-$(PATCH2)= 182f46dfacefdd3bf6f821dea71f90547d414230 22 22
