[arch-releng] LiveCD kernel?
Hi, I'm new to the list. I was wondering how the kernel was built for the LiveCD. I am trying to build my own livecd based off of Arch's (with Squashfs LZMA), and thus need to patch the kernel to support it. I have tried searching, but neither Larch nor ArchISO have any info on this, and there is no documentation on the official CD that I could find. Thanks, Smartboy
On Wed, Feb 4, 2009 at 5:06 PM, Smartboy <smartboyathome@gmail.com> wrote:
Hi, I'm new to the list.
I was wondering how the kernel was built for the LiveCD. I am trying to build my own livecd based off of Arch's (with Squashfs LZMA), and thus need to patch the kernel to support it. I have tried searching, but neither Larch nor ArchISO have any info on this, and there is no documentation on the official CD that I could find.
The kernel is the stock arch kernel. It includes unionfs and squashfs. The other modules, such as aufs and squashfs-lzma, are built out-of-tree as external modules and simply included in the initramfs.
On Wed, Feb 4, 2009 at 3:15 PM, Aaron Griffin <aaronmgriffin@gmail.com>wrote:
On Wed, Feb 4, 2009 at 5:06 PM, Smartboy <smartboyathome@gmail.com> wrote:
Hi, I'm new to the list.
I was wondering how the kernel was built for the LiveCD. I am trying to build my own livecd based off of Arch's (with Squashfs LZMA), and thus need to patch the kernel to support it. I have tried searching, but neither Larch nor ArchISO have any info on this, and there is no documentation on the official CD that I could find.
The kernel is the stock arch kernel. It includes unionfs and squashfs. The other modules, such as aufs and squashfs-lzma, are built out-of-tree as external modules and simply included in the initramfs.
So squashfs-lzma is included with the kernel, then? If so, that is great, because I don't have to build it then. Another question, is there anything special run at startup by the LiveCD which isn't run by a standard Arch release, such as startup scripts? That should do it for now (I will probably have more questions as I get farther along with the build process). Thanks, Smartboy
On Wed, Feb 4, 2009 at 5:21 PM, Smartboy <smartboyathome@gmail.com> wrote:
So squashfs-lzma is included with the kernel, then? If so, that is great, because I don't have to build it then.
No. squashfs is. squashfs-lzma is not. larch has a PKGBUILD to build squashfs lzma - which i have considered for inclusion in extra.
Another question, is there anything special run at startup by the LiveCD which isn't run by a standard Arch release, such as startup scripts?
Nope. The liveCD is just an arch system. If you want custom steps run, I would recommend adding a daemon script to /etc/rc.d/<foo> on the livecd and adding it to the DAEMONS array in rc.conf. Either that, or use rc.local - the same steps you would take on your normal machine
On Wed, Feb 4, 2009 at 3:35 PM, Aaron Griffin <aaronmgriffin@gmail.com>wrote:
On Wed, Feb 4, 2009 at 5:21 PM, Smartboy <smartboyathome@gmail.com> wrote:
So squashfs-lzma is included with the kernel, then? If so, that is great, because I don't have to build it then.
No. squashfs is. squashfs-lzma is not. larch has a PKGBUILD to build squashfs lzma - which i have considered for inclusion in extra.
Another question, is there anything special run at startup by the LiveCD which isn't run by a standard Arch release, such as startup scripts?
Nope. The liveCD is just an arch system. If you want custom steps run, I would recommend adding a daemon script to /etc/rc.d/<foo> on the livecd and adding it to the DAEMONS array in rc.conf. Either that, or use rc.local - the same steps you would take on your normal machine
Thanks a lot! You've really helped clear things up. :) Smartboy
participants (2)
-
Aaron Griffin
-
Smartboy