[arch-releng] [archiso] saying good-bye to union-fs-method?

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Mon Jun 13 01:03:52 EDT 2011


On 06/11/2011 04:14 AM, Gerardo Exequiel Pozzi wrote:
> On 06/08/2011 02:52 AM, Gerardo Exequiel Pozzi wrote:
>> On 06/07/2011 11:58 AM, Thomas Bächler wrote:
>>> Am 07.06.2011 16:24, schrieb Gerardo Exequiel Pozzi:
>>>> On 06/01/2011 04:26 AM, Thomas Bächler wrote:
>>>>>>> So go ahead?
>>>>> Yes, sounds nice.
>>>> Status:
>>>> mkarchiso 90% done
>>>> archiso (hook): 30% done
>>>> archiso2dual: 0%
>>> I say we finish mkarchiso and the hook first (I can help with the 
>>> hook I
>>> think) and disable the dual images until we get to fix archiso2dual.
>>>
>>> Once we move kernel26 to core, we either have no ISOs, or the 
>>> non-dual ISOs.
>>>
>>> About changing from Makefile to script or whatever: Refactor it the way
>>> you think it works best. I don't think anyone depends on the 
>>> Makefiles here.
>>>
>> First: Sorry: this is just a BIG patch, no trivial commits
>>
>> TODO: messages, comments, documentation, archiso2dual, syslinux-iso, 
>> other changes.
>>
>> Short description (Highlights):
>>
>> * good-bye aufs2, welcome dm-snapshot.
>> * syslinux-iso is not touched, I just done a simple profile 
>> "baseline" to test
>> * mkarchiso use "set -e -u"
>> * isomounts renamed aitab (new syntax)
>> Field to select squashfs compression (xz, lzo, gzip) or "none" (no 
>> squashfs is used just raw image)
>> Field to select filesystem type of "raw" image.fs (ext2, ext3, ext4, 
>> xfs)
>> Field to set free space (in %) or total size of "raw" image.
>> Fields architecture supports "any".
>> * New command: "prepare", builds all images (used before iso)
>> * *.sqfs -> *.sfs (more standard)
>> * single images looks like dual images (directory scheme)
>>
>> build process (no verbose): http://pastebin.com/8EGRtzQi
>> how live-enviroment look (loop devices, mounts): 
>> http://pastebin.com/qt63QnQw
>> branch dm-snapshot: https://github.com/djgera/archiso/tree/dm-snapshot
>>
>> Tree:
>>
>> ├── arch
>> │ ├── boot
>> │ │ ├── aitab
>> │ │ └── i686
>> │ │ ├── archiso.img
>> │ │ └── vmlinuz26
>> │ └── i686
>> │ └── root-image.fs.sfs
>> └── syslinux
>> ├── boot.cat
>> ├── isolinux.bin
>> ├── menu.c32
>> └── syslinux.cfg
>>
> I pushed a "releng" profile, for now, only make net.iso. I will work 
> this weekend for core.iso.
>
> In the build process, I split out usr/share and /lib/modules to make 
> more friendly "dual-iso", what do you think?
>
> To boot use: loop.max_loop=16 (for now). I will make archiso hook 
> create dev loop nodes on demand.
>
>
> [root at archiso ~]# df -h
> Filesystem                      Size  Used Avail Use% Mounted on
> udev                             10M     0   10M   0% /dev
> run                              10M  120K  9.9M   2% /run
> /dev/mapper/root-image          624M  288M  336M  47% /
> /dev/mapper/lib-modules          49M   38M   12M  77% /lib/modules
> /dev/mapper/usr-share           434M  169M  266M  39% /usr/share
> /dev/disk/by-label/ARCH_201106  193M  193M     0 100% /bootmnt
> shm                              61M     0   61M   0% /dev/shm
> [root at archiso ~]# losetup -a
> /dev/loop0: [0b00]:330 (/bootmnt/arch/i686/root-image.fs.sfs)
> /dev/loop1: [0700]:2 (/sfs/root-image/root-image.fs)
> /dev/loop2: [000f]:5636 (/cowspace/root-image)
> /dev/loop3: [0b00]:329 (/bootmnt/arch/i686/lib-modules.fs.sfs)
> /dev/loop4: [0703]:2 (/sfs/lib-modules/lib-modules.fs)
> /dev/loop5: [000f]:6003 (/cowspace/lib-modules)
> /dev/loop6: [0b00]:328 (/bootmnt/arch/any/usr-share.fs.sfs)
> /dev/loop7: [0706]:2 (/sfs/usr-share/usr-share.fs)
> /dev/loop8: [000f]:6048 (/cowspace/usr-share)
>
> /bootmnt/
> ├── arch
> │   ├── any
> │   │   └── usr-share.fs.sfs
> │   ├── boot
> │   │   ├── aitab
> │   │   ├── i686
> │   │   │   ├── archiso.img
> │   │   │   └── vmlinuz26
> │   │   ├── memtest
> │   │   └── memtest.COPYING
> │   └── i686
> │       ├── lib-modules.fs.sfs
> │       └── root-image.fs.sfs
>
netinstal+core is done.
TODO dual, but now is much more easy ;)

archlinux-2011.06.13-core-i686.iso

├── arch
│   ├── aitab
│   ├── any
│   │   ├── core-any-pkgs.sfs
│   │   └── usr-share.fs.sfs
│   ├── boot
│   │   ├── i686
│   │   │   ├── archiso.img
│   │   │   └── vmlinuz26
│   │   ├── memtest
│   │   └── memtest.COPYING
│   └── i686
│       ├── core-pkgs.sfs
│       ├── lib-modules.fs.sfs
│       └── root-image.fs.sfs

I am going to sleep mode now!

-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list