Do not hardcode the fedora-release package name in the %post scriptlet
(in the place that imports the Fedora RPM GPG key). Instead, use
"--whatprovides system-release", which is strictly equivalent if
fedora-release is used, but also works when the *-release package is
named differently.
This makes live easier for remixes, which have to replace fedora-release
with generic-release or ${remixname}-release. They would otherwise have
to edit fedora-live-base.ks.
Now the switch between using the rawhide repo and the normal repos
can be done by just switching comment lines in one place
(fedora-repo.ks). (Note that the repo lines in fedora-install.ks
don't get changed for branching.)
Using >> means we have a custom.conf file that looks like this:
[daemon]
...
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=liveuser
Which is the first reason why it's failing. Change the cat append to replace as
the other sections are optional.
Additionally, the livesys legacy service is not completing before gdm is being
started, which means the config file is being read before it has been altered.
This can be fixed by adding a LSB-style "X-Start-Before: display-manager" in the
header of livesys.
Now that we have branched we want the default repo commands to
point to the branched release, not rawhide. There is an empty
updates repo, so it's safe to uncomment the updates repo as well.
livecd-creator supports $releasever, so we can remove hard coded release names
(other than rawhide) from the repo commands. Even though these are currently
comments, I wanted to get a head start on getting these ready for the F15
branch.
At this point in the release cycle the fedora and updates repos should
be enabled.
The ks files for live spins that define these should be consistent with
each other.
I checked with docs and that file isn't packaged any more, because it was
felt to be something that you wouldn't need once you made the live image.
That stance is negotiable if someone thinks it is worth including.
First, strip the "minimization" parts out of fedora-live-base.ks,
and move them into fedora-live-minimization.ks. All previous consumers
of fedora-live-base.ks are updated.
The old fedora-live-base.ks was conflating two entirely different
things:
* A live-based image which can be used to install
* Stripping some random bits to fit onto a CD
The previous fedora-livecd-desktop is now fedora-live-desktop.ks.
The new file fedora-livecd-desktop.ks is actually further
minimizations on top of fedora-live-desktop.ks.
Split up these two concepts so that fedora-live-desktop is *THE*
desktop. What we expect everyone to have as a base, and the
exact same set of packages should be installed by Standalone
Anaconda (DVD) as well. Then, we have minimization hacks
in fedora-live-desktop-cd.ks.
Over time, we should be shrinking the default install and making
it more just-in-time, by e.g. having many more things use
the PackageKit library to pull in components as needed.
- comment out -debuginfo to avoid annoying warning every spin
debuginfo should only get pulled in if a debuginfo repo is explicitly enabled
and someone might actually want to have it for testing say, so hope we can
drop it completely
With ef2fsprogs-1.41.3-4.fc11, shrinking of ext4 filesystems is fixed and since we want to be using ext4 as the rootfs
for Fedora 11 alpha, let's make the change. Note that you'll also need livecd-tools-021 for livecd-creator to not
reject the fstype
We weren't running any of this if you had persistence configured and you had
already booted. We should at least mount the persistent /home and turn on
swap for that case as well as doing our tmpfs mounts
The geode driver seems to have some bugs that using the greedy migration
heuristic works around (discovered in upstream
https://bugs.freedesktop.org/show_bug.cgi?id=15700). This fixes both the
black boxes we see on XO and also seems to make the text appear properly.
setroubleshoot is very resource intensive and perhaps not entirely
relevant with the constrained use case of running from the live image.
Turn it off right now for when running off the live image
Switch the default rootfs to be smaller. This shouldn't impact most of the
images as they're already CD sized. But this makes it so that we can put
the unsquashed ext3fs onto an SD card for slower machines which makes a
huge difference in performance
The OLPC's internal NAND is a really good idea to use for /home rather than
taking up the very hard to find RAM. The NAND is default set up with a
/home on mtd0, so also do some magic so that we create our homedir under that
/home.