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

Thomas Bächler thomas at archlinux.org
Sun Oct 17 16:45:19 EDT 2010


Am 17.10.2010 21:22, schrieb Gerardo Exequiel Pozzi:
> Add a note about supported status in Linux versions.
> Needs squashfs-tools-4.1 (now on extra).
> 
> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>

I have actually built squashfs-lzma images with a (very ugly) hacked
archiso today, so I appreciate this. Your option looks good, I'll look
at it more thoroughly tomorrow though. It also seems like there is some
messed up indentation (not in your patch, but around it). I guess you
can put these patches on your github for me to pull.


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?).
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?).
3) I patched syslinux-iso to pacman -Rn kernel26 (this is ugly, but I
see no better way).
4) I hardcoded vmlinuz26-live everywhere (and vmlinuz26_live in
syslinux.cfg, as level1 isofs does not know '-') - long-term, the
package name should be kernel26_live so that the file name will be
vmlinuz26_live.

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).

-------------- 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/20101017/920b9cb2/attachment.bin>


More information about the arch-releng mailing list