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

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sun Oct 17 17:55:30 EDT 2010


  On 10/17/2010 05:45 PM, Thomas Bächler wrote:
> 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.
Good, all these patches (compression support + archiso2dual -S change) 
are on my "experimental" branch.

http://github.com/djgera/archiso/compare/master...experimental

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

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

> 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.
> 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 
$(WORKDIR)

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

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




More information about the arch-releng mailing list