[arch-releng] archiso2dual.sh: join both i686 and x86_64 iso in one
This is only just for "start point" and is a DRAFT that works (just setup correct directories and images names). Nothing is stripped, I working on it. Size of iso generated is 782237696 bytes (746MB) http://github.com/djgera/archiso2dual -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
On 02/19/2010 08:31 PM, Gerardo Exequiel Pozzi wrote:
This is only just for "start point" and is a DRAFT that works (just setup correct directories and images names).
Nothing is stripped, I working on it. Size of iso generated is 782237696 bytes (746MB)
OK, usrshare split is done, results: 726663168 bytes (692 MB) just spliting /usr/share from both root-image.sqfs and making usrshare.sqfs 701497344 bytes (668 MB) like previous but deleting from usrshare.sqfs doc/, info/ and doc/. Script execution time take about 3 minutes. [CHROOT32][root@gerardo archiso2dual]# tree -h -I *.c32 /tmp/dual/iso/ /tmp/dual/iso/ |-- [ 60] any | `-- [ 29M] usrshare.sqfs |-- [ 220] boot | |-- [ 80] i686 | | |-- [5.6M] archiso.img | | `-- [1.7M] vmlinuz26 | |-- [ 640] isolinux | | |-- [ 14K] isolinux.bin | | |-- [2.0K] isolinux.cfg | | `-- [ 25K] memdisk | |-- [157K] memtest | |-- [ 18K] memtest.COPYING | |-- [ 70] releasenotes.txt | |-- [ 44K] splash.png | |-- [ 80] x86_64 | | |-- [5.7M] archiso.img | | `-- [1.9M] vmlinuz26 | |-- [ 38K] x86test | `-- [ 18K] x86test.COPYING |-- [ 100] i686 | |-- [210M] core-pkgs.sqfs | |-- [8.0K] overlay.sqfs | `-- [ 90M] root-image.sqfs |-- [ 664] isomounts `-- [ 100] x86_64 |-- [224M] core-pkgs.sqfs |-- [8.0K] overlay.sqfs `-- [ 99M] root-image.sqfs 7 directories, 21 files -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
On 20/02/10 13:08, Gerardo Exequiel Pozzi wrote:
701497344 bytes (668 MB) like previous but deleting from usrshare.sqfs doc/, info/ and doc/.
That doc/ directory sounds persistent! :D
On 02/20/2010 12:20 AM, Allan McRae wrote:
On 20/02/10 13:08, Gerardo Exequiel Pozzi wrote:
701497344 bytes (668 MB) like previous but deleting from usrshare.sqfs doc/, info/ and doc/.
That doc/ directory sounds persistent! :D
Because is the Doc. Emmett Brown and is back :P doc, info, man ;) -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
On 02/20/2010 12:08 AM, Gerardo Exequiel Pozzi wrote:
On 02/19/2010 08:31 PM, Gerardo Exequiel Pozzi wrote:
This is only just for "start point" and is a DRAFT that works (just setup correct directories and images names).
Nothing is stripped, I working on it. Size of iso generated is 782237696 bytes (746MB)
OK, usrshare split is done, results:
726663168 bytes (692 MB) just spliting /usr/share from both root-image.sqfs and making usrshare.sqfs
701497344 bytes (668 MB) like previous but deleting from usrshare.sqfs doc/, info/ and doc/.
Script execution time take about 3 minutes. Just with second result (692MB) is OK, but going beyond:
Removing, /boot (unused at all), /usr/include and /usr/src (after all there is no gcc on the live medium) size is 685768704 (653MB). -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
Am Samstag, 20. Februar 2010 04:08:17 schrieb Gerardo Exequiel Pozzi:
OK, usrshare split is done, results:
726663168 bytes (692 MB) just spliting /usr/share from both root-image.sqfs and making usrshare.sqfs
701497344 bytes (668 MB) like previous but deleting from usrshare.sqfs doc/, info/ and doc/.
Script execution time take about 3 minutes.
I think everything below 700MB is fine as it still fits on a standard CD-R. BTW: I am just testing xz compression and this will give is a lot more free space. For example the x86_64 core repo went down from 223 MB to only 149 MB. -- Pierre Schmitz, https://users.archlinux.de/~pierre
On 02/19/2010 08:31 PM, Gerardo Exequiel Pozzi wrote:
This is only just for "start point" and is a DRAFT that works (just setup correct directories and images names).
OK, now looks pretty good :) archiso2dual [options] -3 <i686.iso> -6 <x86_64.iso> -o <output.iso> needed options: -3 <i686.iso> Path to i686 source iso image -6 <x86_64.iso> Path to x86_64 source iso image -o <output.iso> Path to dual target iso image general options: -M <isomounts> Path to isomounts file (default to '/usr/share/archiso2dual/isomounts' -S <isolinux> Path to isolinux.cfg file (default to '/usr/share/archiso2dual/isolinux.cfg' -w <workdir> Set work directory (default to '/tmp/archiso2dual') -T <profile> Type of target image (work is done on root-image.sqfs): basic: join both images, no changes in *.sqfs split_us: 'basic' + split usr/share/ purge_us: 'split_us' + prune usr/share/{doc,info,man}/ full: 'purge_us' + prune boot/ usr/include/ usr/src/ (default to 'basic') -L <label> Set a label for the disk [max 11 chars] (default to 'ARCH_201002') -P <publisher> Set a publisher for the disk (default to 'Arch Linux <http://www.archlinux.org>') -A <application> Set an application name for the disk (default to 'Arch Linux Live/Rescue disk') -y Confirm execution (otherwise only show configuration) -v Enable verbose output -h This message archiso2dual -3 /home/djgera/archiso/archlinux-2010.02.18-core-i686.iso -6 /home/djgera/archiso/archlinux-2010.02.18-core-x86_64.iso -o archlinux-2010.02.18-core-dual.iso -M isomounts -S isolinux.cfg -T full archiso2dual.sh : Configuration settings source iso i686 image: /home/djgera/archiso/archlinux-2010.02.18-core-i686.iso source iso x86_64 image: /home/djgera/archiso/archlinux-2010.02.18-core-x86_64.iso target iso image: archlinux-2010.02.18-core-dual.iso isomounts file: isomounts isolinux.cfg file: isolinux.cfg working directory: /tmp/archiso2dual profile: full label: ARCH_201002 publisher: Arch Linux <http://www.archlinux.org> application: Arch Linux Live/Rescue disk If configuration is correct, re-execute with -y -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
On 02/19/2010 08:31 PM, Gerardo Exequiel Pozzi wrote:
This is only just for "start point" and is a DRAFT that works (just setup correct directories and images names).
Nothing is stripped, I working on it. Size of iso generated is 782237696 bytes (746MB)
Add another "profile" to split out lib/modules from root-images. In this way can boot a 64 bits kernel with 32 bits userspace. This third option is now implemented with three isomounts files. -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
participants (3)
-
Allan McRae
-
Gerardo Exequiel Pozzi
-
Pierre Schmitz