Hi XFCE users,
I was trying to build my own F12 x86_64 XFCE LiveCD with some compilers and bash completions but I am having some problems.
I started with the kickstarts available on fedora hosted, fedora-livecd-xfce.ks fedora-live-base.ks
I have a CD which supports a maximum of 700 MBs, so I reduced the --size argument to part to 2772, removed @fonts and included only three of my favourite fonts. I removed some more default packages to make space for emacs, gcc, gcc-c++, and bash-completion. I then included some edits to the %post section of the xfce kickstart to turn on bash-completions.
Composing against the F12 release and updates repos, I get a 715 MB image. When I boot the disc with KVM I can't switch to root, it asks me for the root password.
What could be going wrong? Thanks for any insights.
On Sunday 07 February 2010 12:55 PM, Suvayu Ali wrote:
Composing against the F12 release and updates repos, I get a 715 MB image. When I boot the disc with KVM I can't switch to root, it asks me for the root password.
I found out why I couldn't switch to root, I hadn't set SELinux to permissive before building the image. :) Just for my information, why do we need SELinux to be in permissive mode? Is it a bug that is being worked on, or is there something more subtle going on?
However the image size issue still remains. I guess I will have to drop some more essential packages ... :(
Am Sonntag, den 07.02.2010, 14:06 -0800 schrieb Suvayu Ali:
I found out why I couldn't switch to root, I hadn't set SELinux to permissive before building the image. :) Just for my information, why do we need SELinux to be in permissive mode? Is it a bug that is being worked on, or is there something more subtle going on?
Selinux works with rules based on names on file names/paths. During creation of the livecd, a complete installation is done within a chroot environment. This means that the complete set of rules would be required not only for the the host on which the image is created but also for the installation inside the chroot. This is hardly possible.
However the image size issue still remains. I guess I will have to drop some more essential packages ... :(
Use your current image to find out why a package was pulled in. Try to remove it with yum and you should see.
Regards, Christoph
On Monday 08 February 2010 11:39 AM, Christoph Wickert wrote:
Am Sonntag, den 07.02.2010, 14:06 -0800 schrieb Suvayu Ali:
I found out why I couldn't switch to root, I hadn't set SELinux to permissive before building the image. :) Just for my information, why do we need SELinux to be in permissive mode? Is it a bug that is being worked on, or is there something more subtle going on?
Selinux works with rules based on names on file names/paths. During creation of the livecd, a complete installation is done within a chroot environment. This means that the complete set of rules would be required not only for the the host on which the image is created but also for the installation inside the chroot. This is hardly possible.
Thanks Christoph for the explanation, now it makes sense. :)
However the image size issue still remains. I guess I will have to drop some more essential packages ... :(
Use your current image to find out why a package was pulled in. Try to remove it with yum and you should see.
In the end I ended up doing it like that. :-p
Regards, Christoph