[arch-releng] [RFC] [PATCH] [archiso] Add support for squashfs compression types

Thomas Bächler thomas at archlinux.org
Sun Oct 17 18:12:29 EDT 2010

Am 17.10.2010 23:55, schrieb Gerardo Exequiel Pozzi:
>> The aforementioned test images are here:
>> http://alberich.archlinux.org/misc/testiso/
>> As for the "hacked" part:
>> 1) I built kernel26-live with squashfs-lzma and aufs in the kernel (will
>> become an [extra] package maybe?).
> Sounds good. What patches are you using? Is not posible/easy to build
> only "sqfslzma" module? (plus a trivial patch for add lzma "as
> supported" in kernel26 package).

No, the part that was rejected by Linus was making the lzma decompressor
available to non-init code. The changes to the squashfs module are
rather small.

The last 6 patches can be cleanly rebased upon, that's what I use.

> (We have a party when we lzma + Val's writable overlays in Linux vanilla
> :P)

We can try porting archiso to union-mounts soon and see how that works out.

>> 2) I removed tiacx and ndiswrapper as I didn't want to build any
>> external modules for now (Can we drop them from the ISO?).
> I don't know I never used that.

The tiacx has no future, and ndiswrapper is almost dead these days.

>> 3) I patched syslinux-iso to pacman -Rn kernel26 (this is ugly, but I
>> see no better way).
> another workaround can be in Makefile
> - mkarchiso -p base create $(WORKDIR)
> + mkarchiso -p $(shell pacman -Sgq base | grep -v ^kernel26$) create

If we do not insist on using the base group, why not?

>> On another note, archisobasedir was broken (still is in the test
>> images), and converting an ISO to run from a subfolder requires some
>> sed-work. Maybe it would be easier to just have everything in the
>> archlinux/ subfolder on the ISO, so that remastering onto another medium
>> will be less messy (I copied the ISO to a FAT32 into an archlinux/
>> subfolder, adjusted archisolabel, archisobasedir, installed syslinux(FAT
>> version) and changes some paths here and there - I now have an Arch
>> system contained entirely in a subfolder on my USB).
> Yes I want this, seems that other people too :)
> In these days I am busy, but I can experiment on this in some days.

Then the easiest thing to do is move all files to archlinux/ (including
isomounts) and set archisobasedir=archlinux/.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20101018/02cb2625/attachment.bin>

More information about the arch-releng mailing list