Commit Graph

180 Commits

Author SHA1 Message Date
Kevin Fenzi
9f254062c3 Switch md5 to sha512. Fixes bug #1234068
This is pretty cosmetic as live and cloud images don't use passwords
and they install with sha512 fine, but some people may use these
kickstarts as a base for their spins, so we should use best practices.
2015-06-21 10:38:20 -06:00
Adam Williamson
d94b86c888 Don't sync the system clock when running live (RHBZ #1018162) 2015-06-18 09:30:33 -07:00
Kalev Lember
181d3e9f8c Drop any references to fedora-release-nonproduct
The package is gone in F22+ and folded into fedora-release.
2015-04-24 22:28:29 +02:00
Kevin Fenzi
5a91df2b97 Try this as a fix for ldconfig being so slow on boot on live media. bug 1195998 2015-03-06 13:17:41 -07:00
Kevin Fenzi
0eb6b1bf31 Add a few packages requested to xfce spin and increase base size 2015-02-18 19:16:17 -07:00
Adam Williamson
eba9ca6a6f re-generate fontconfig cache in %post to work around #1169979 2014-12-12 10:48:43 -08:00
Adam Williamson
bf3371ecfe Revert "Setup mdadm to turn off homehost (#1156614)"
This reverts commit 0bcbab3c71.
Per https://bugzilla.redhat.com/show_bug.cgi?id=1156614#c15 both
dlehman and I suspect it may be completely wrong, and it's not
strictly necessary right now, so let's leave it until dledford
clarifies.
2014-10-28 11:57:29 -07:00
Brian C. Lane
0bcbab3c71 Setup mdadm to turn off homehost (#1156614) 2014-10-28 11:43:20 -07:00
Kalev Lember
bfa7d4e4f6 live base: Install fedora-release-nonproduct for non-product lives
Add fedora-release-nonproduct to fedora-live-base.ks to ensure it gets
pulled in for all spins. In order to avoid it getting pulled in to
the Workstation product that is also based on fedora-live-base.ks,
explicitly exclude fedora-release-nonproduct in workstation kickstart
file.

https://bugzilla.redhat.com/show_bug.cgi?id=1154235
2014-10-18 15:34:40 +02:00
Adam Williamson
96a16eefc4 from spot: add comfortaa fonts to live-base to fix #1116497 2014-09-19 11:06:36 -07:00
Adam Williamson
5e49468d39 we don't need to nix hwclock-save.service any more...
...because systemd dropped it in 2011:
http://lists.freedesktop.org/archives/systemd-commits/2011-May/001088.html
2014-09-06 18:11:51 -07:00
Adam Williamson
629c19368c set up tmpfs in fstab, not livesys service (fixes #1135475) 2014-09-02 09:27:29 -07:00
Kalev Lember
745387e20e live-base: Drop a redundant package inclusion
Don't explicitly include qemu-guest-agent; it's is already listed in
@guest-desktop-agents comps group that is also pulled in to
fedora-live-base.
2014-08-29 17:53:18 +02:00
Dennis Gilmore
b0850152d8 license files have moved, and we no longer ship the collection as GPL but MIT 2014-08-01 12:05:44 -05:00
Kalev Lember
f844fe2791 Disable gnome-software automatic updates downloading
The gnome-settings-daemon updates plugin is gone and update downloading
is handled by gnome-software instead. Adapt the live image schema
overrides for the changes.
2014-06-03 13:25:11 +02:00
Kevin Kofler
ccd8c30b88 fedora-live-base.ks: do not hardcode fedora-release in %post
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.
2014-04-07 14:04:57 +02:00
Dennis Gilmore
352a416c61 use uname -i as it gives the arch used as the basearch by yum uname -m is incorrect 2013-12-12 04:12:29 -06:00
Adam Williamson
922fff0b59 correct path when copying GPL to live root (unversioned docdirs) 2013-12-11 14:56:15 -08:00
Matthew Miller
07ed9c93b2 set releasever and basearch so we can find the right RPM GPG key to import 2013-12-10 15:09:10 -05:00
Kalev Lember
32e066e039 Adapt for changed rpm gpg key names 2013-10-17 00:17:33 +02:00
Adam Williamson
5ee23ccea9 add workaround for #679486 from kparal (see comment #86) 2013-08-28 09:29:19 -05:00
Adam Williamson
11631d6481 move the 'livesys is done' block back up so it's at least inside livesys 2013-08-20 08:50:39 -07:00
Kevin Fenzi
a47186bb67 Move configured set to the end. Fixes bug #991466 2013-08-04 11:58:54 -06:00
Bruno Wolff III
8394644034 Make it easier to handle branching
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.)
2013-06-29 08:05:30 -05:00
Adam Williamson
282c3621ba Remove root password
From Brian Lane: needed with livecd-tools >= 19.3, see RHBZ #964299
2013-05-27 15:40:28 -07:00
Bill Nottingham
409caf7074 Don't continue to write a script from the F12/F13 days that does nothing to halt.local.
1) it's entirely commented out, so it does nothing
2) if we wanted to do this now, it would be better done in systemd anyway.
2013-05-23 15:14:52 -04:00
Bill Nottingham
6670bc9af0 Add the new guest agent groups to the live image base and the install DVD. 2013-05-20 16:58:02 -04:00
Kevin Fenzi
6397294307 fpaste is in standard group now, no need to list it here. 2013-04-27 11:28:52 -06:00
Kevin Fenzi
83de9134f8 Add liveuser to the wheel group so it can sudo. Fixes bug #927669 2013-03-27 09:32:23 -06:00
Kevin Fenzi
55a954e811 Fix old reference to liveimg. Fixes bug #923107 2013-03-19 12:43:49 -06:00
Richard Hughes
254dfaeee6 Fix GDM auto-login for all GNOME-based spins
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.
2013-02-13 14:34:02 -05:00
Kevin Fenzi
32f754bc8c Add qemu-guest-agent. Fixes bug 886705 2013-01-16 12:31:32 -07:00
Bill Nottingham
1bb77a5909 Handle current dracut livedir argument. (#881124) 2012-12-11 14:28:39 -05:00
Bill Nottingham
600308e3be Don't mount a tmpfs ourselves - use systemd's tmp.mount.
We were mounting a tmpfs over a tmpfs, which aside from being redundant is appearing to cause some issues. (#857076)
2012-10-12 10:40:55 -04:00
Bill Nottingham
ec24510780 Change spins to use the new desktop env groups rather than big lists of packages.
Tested composes; package set roughly eqiuvalent.
2012-09-07 15:41:31 -04:00
Bill Nottingham
5a74ea22ac @base was renamed; adjust kickstarts. 2012-09-01 13:00:10 -04:00
Adam Williamson
aa39c91a41 look for rd.live.image not liveimg on command line - ref. livecd-tools-18.6 2012-07-31 13:12:37 -07:00
Bruno Wolff III
c582e3962e Initial f18 rawhide package 2012-06-15 11:24:31 -05:00
Adam Williamson
3ac66a0add put back escaping, revert other unjustified syntax changes from fgrose 2012-05-08 12:38:11 -07:00
Adam Williamson
99cd6d592e Substitute /run/initramfs/live for /mnt/live (from fgrose)
This is needed to enable mounting of home.img and swap.img in
Fedora 17 LiveOS installations.
2012-05-08 12:11:15 -07:00
Bruno Wolff III
5f00cb35c5 Update repo commands to use branched release
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.
2012-02-12 08:04:42 -06:00
Bruno Wolff III
c6d5e9053a Initial f17 build
Switch back to using rawhide for live images by default
2011-10-25 07:00:54 -05:00
Adam Williamson
5ad2a6e42b update system disablement for systemd, drop some dead wood
Signed-off-by: Bruno Wolff III <bruno@wolff.to>
2011-10-15 09:15:28 -05:00
Kevin Fenzi
3c72e9eae4 Add grub2, grub-efi and efibootmgr for EFI install/booting. Fixes bug #735023 2011-10-13 09:20:03 -06:00
Bruno Wolff III
5f363b1baa Switch from using rawhide to release repos. 2011-08-06 11:13:32 -05:00
Bruno Wolff III
7ce33d2aed Master branch is now following rawhide. 2011-05-02 23:11:40 -05:00
Kevin Kofler
36271446ff fedora-live-base.ks: Don't prelink the live images.
This unacceptably increases the size of the images by several MiB.
The KDE image grew by 17 to 24 MiB, making it go oversized.
See https://bugzilla.redhat.com/show_bug.cgi?id=679880#c13 and followups.
2011-04-07 09:56:14 +02:00
Bruno Wolff III
fc56888436 Fix don't run prelink patch.
I accidentally stuck it in the wrong place on the last commit, and forgot to
do both live-base and live-mini.
2011-04-03 08:41:31 -05:00
Bruno Wolff III
34c07aa4fa Don't run prelink on a running live image. 2011-04-03 08:35:36 -05:00
Bruno Wolff III
e095d42c59 Match updated prelink requirements.
The m option is used so that this will work in some i686 cases where it
wouldn't before.

prelink is optional, so handle it not being available.
2011-04-03 08:28:34 -05:00
Kevin Fenzi
45ad6629a1 Add prelink in. See bug: 679880 2011-04-02 18:41:38 -06:00
Bruno Wolff III
d935d49b26 Prevent reseting the clock when shutting down.
With systemd the old method of preventing the hardware clock from
getting reset no longer works and we need to do it a bit differently.
2011-03-30 23:00:32 -05:00
Matthias Clasen
47eaac1dc1 base: prevent unintended failures in the livesys initscript
Some of the tweaks we do there may fail if the packages containing
the touched files are not present. Better be careful.
2011-03-23 11:59:04 -04:00
Matthias Clasen
fae7f280df Update the gnome-packagekit tweaks
gnome-packagekit is no longer using GConf, so tweaking GConf keys
has little effect. Instead disable the gnome-settings-daemon updates
plugin.
2011-03-01 11:09:31 -05:00
Bill Nottingham
5cdace94d6 Remove some chkconfig calls that are disabling things that don't exist. 2011-03-01 10:40:02 -05:00
Bruno Wolff III
a878b281e4 Switch default repos now that F15 has branched. 2011-02-11 10:08:02 -06:00
Kevin Fenzi
ed00e34b0b Move fpaste to the base ks. It's small, doesn't have many deps and very
useful for debugging problems.
2011-02-09 08:53:07 -07:00
Bruno Wolff III
9c6bf5bdaf Use $releasever instead of hard coded release.
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.
2011-01-27 11:37:01 -06:00
Bruno Wolff III
60096cecce Need to remove rpm db files after running rpm in the post section. 2011-01-26 00:51:41 -06:00
Bruno Wolff III
4af94adf17 arch=i386 changed back to arch=$basearch. 2011-01-10 08:14:48 -06:00
Bruno Wolff III
86477b4fbd The master branch is back to using rawhide for a while. 2010-10-12 22:22:49 -05:00
Bruno Wolff III
7e737f095e kickstart files need to use absolute basearch and releasever.
The mirrorlist url used yum variables ($basearch and $releasever) which don't
work in pykickstart. I changed them to i386 and 14.
2010-10-12 21:40:00 -05:00
Bruno Wolff III
ccbd53091d Update repo definitions
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.
2010-08-30 21:58:46 -05:00
Kevin Fenzi
e9152aa143 Remove Ugly hack for XO laptops from bug 460581. It's no longer needed
and causing problems with some other Geode devices.
2010-08-25 15:46:50 -06:00
kevin
b500cb3bb9 Fix xdriver= passing. Patch from Adam Williamson <awilliam@redhat.com> 2010-08-12 09:43:00 -06:00
kevin
6e1f238145 Fix firstboot for f14alpha 2010-08-10 10:54:52 -06:00
kevin
dedc97f491 Replace makewhatis with mandb 2010-08-04 09:58:13 -06:00
Bruno Wolff III
c488a9529c Remove attempt to copy over documentation file that doesn't exist.
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.
2010-06-02 23:53:53 -05:00
Bruno Wolff III
0c9733724d Switch to using rawhide repo. 2010-06-01 23:43:11 -05:00
Jens Petersen
b0449a43b6 use small ibus-pinyin-db-android for live
ibus-pinyin-open-phrase is now ibus-pinyin-db-open-phrase
2010-05-21 17:44:40 +10:00
Christoph Wickert
e1d0f02c0d Base: Fix disabling of update checks for gnome-packagekit 2.30 2010-05-09 23:20:24 +02:00
Matthias Clasen
34c27a76cb Prevent readahead-collect during live boot
This is not really useful, and has been complained about in bug 583706.
2010-04-30 07:50:27 -04:00
Colin Walters
2a68fde598 Readd anaconda and isomd5sum
Oops - these need to be in base.
2010-03-24 17:58:32 -04:00
Colin Walters
198011f976 Rework live-base and desktop minimization
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.
2010-03-24 15:43:51 -04:00
kevin
05c51b0146 Exclude ibus-pinyin-open-phrase 2010-03-23 22:53:55 -06:00
Warren Togami
ff1e3e892c Point live at Fedora 13, not rawhide for now. 2010-02-17 17:12:09 -05:00
Jeroen van Meeuwen (Fedora Unity)
3689019df3 There is no /boot/initrd* anymore to remove, so instead remove /boot/initram* (#551094) 2010-01-02 15:02:43 +01:00
Jeroen van Meeuwen (Fedora Unity)
c3ace496a6 Revert incidental removal of the mdns service firewall enablement 2009-12-14 13:07:43 +01:00
Jeroen van Meeuwen (Fedora Unity)
2f276dfc35 Pass "--kickstart=" when running liveinst with a kickstart (#543722) 2009-12-11 21:33:57 -05:00
Warren Togami
2a65b84f22 Print all RPMS installed during livecd-creator 2009-12-08 09:24:38 -05:00
Warren Togami
94698e8c40 XXX: This often gets stuck during shutdown because /etc/init.d/halt
(or something else still running) wants to read files from the block\
      device that was ejected.  Disable for now.  Bug #531924
2009-11-02 15:40:56 -05:00
Matthias Clasen
2a473175ae more fixes for warren 2009-08-03 13:00:53 -04:00
Matthias Clasen
26f6a2b7ac Enable rawhide by default 2009-08-03 12:47:59 -04:00
Matthias Clasen
986c7b7555 Revert accidental %repo changes 2009-08-03 12:31:14 -04:00
Matthias Clasen
62c2e6823e Remove a workaround for a long-fixed avahi bug 2009-08-01 21:33:09 -04:00
Jeremy Katz
571bfc2320 udev dropped vol_id, replace with blkid
udev no longer ships a vol_id binary saying that blkid should be
used instead.  *sigh*
2009-07-07 10:54:49 -04:00
Jens Petersen
f3bdc1672b - update example repos from f10 to f11
- 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
2009-06-11 10:46:01 +10:00
Jeremy Katz
92b2ac326a Poke a hole for mdns in the firewall since we do other things to make it work nicely 2009-04-07 10:44:42 -04:00
Jeremy Katz
c153a50c0b Parameterize LiveOS so that we can support multiple images on a stick
Booting with live_dir=foo will now look in foo/ rather than LiveOS/
for the live image bits and pieces
2009-03-06 16:54:17 -05:00
Jens Petersen
b798368b47 no longer include scim-pinyin 2009-01-21 11:18:16 +10:00
Jeremy Katz
68b14e1e54 Switch to ext4 for / on the live images
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
2009-01-20 17:04:20 -05:00
Jeremy Katz
51cfab9fee Add a delay on ejecting (#474817)
The eject is at the end of the reboot and so people don't always have enough
time to remove the CD.  Add a delay to allow them to get the CD out
2008-12-08 13:19:37 -05:00
Jeroen van Meeuwen (Fedora Unity)
ee522306e5 Make the most recent repositories say 10 instead of 9 2008-11-29 22:14:13 +01:00
Jeremy Katz
39f10542d3 Ensure we mount persistent home and swap always (#470317)
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
2008-11-06 13:34:27 -05:00
Jeremy Katz
0cd792c758 Switch to using greedy migration heuristic for geode (#462531, #467762)
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.
2008-10-31 15:07:40 -04:00
Jens Petersen
083fd6d50b Install scim-pinyin instead of scim-python-pinyin 2008-10-30 18:30:00 +10:00
Jens Petersen
bd870f59d7 Install input methods by default.
Local spins should remove "scim*" and "m17n*" to avoid including input methods.
2008-10-27 17:39:09 +10:00
Jeremy Katz
52fba85a94 Quit plymouht before running anaconda (#468268) 2008-10-23 17:49:21 -04:00
Jeremy Katz
15d51a1927 Fix enabling of swap from LiveOS/swap.img
The previous check required there to be a swap partition in addition
to the existence of LiveOS/swap.img
2008-10-16 22:09:11 -04:00
Jeremy Katz
3cb271878a Fall back to mounting /dev/live as rw
If we're using the live image for a persistent overlay, we can't mount it ro,
so just try to mount it rw if the ro mount fails
2008-10-15 12:59:15 -04:00