Commit Graph

145 Commits

Author SHA1 Message Date
Adam Williamson
4fc84a77a2 manipulate network service in %post (#1369794)
Due to #1369794 , anaconda cannot currently manipulate sysv
services in F25+. So to work around this, take 'network' out of
the services lines in all kickstarts and instead manipulate
it in the %post section, with chkconfig.

Also remove rsyslog from the Atomic image services line because
it doesn't appear to be included in the OStree tree at present
and so attempting to enable the service breaks Atomic image
compose, see e.g.:

https://kojipkgs.fedoraproject.org//work/tasks/9022/15349022/oz-x86_64.log

also correct the name of the ssh service in fedora-arm-base.ks;
it's sshd not ssh.
2016-08-24 10:10:36 -07:00
Bruno Wolff III
b39ac77024 Make sure chronyd runs with the correct config
We need to have chronyd start after livesys has finished so that
the config for chronyd gets rewritten before it starts. If not it
will overwrite the system clock with a time that will be incorrect
(US eastern stored as local time instead of UTC) for most people.
This fixes bug 1018162.
2016-06-18 08:14:35 -05:00
Kevin Fenzi
b63ab022d7 Drop dracut-config-generic since we don't want the larger generic initramfses on all installed from live instances. 2016-04-29 15:32:42 -06:00
Kevin Fenzi
c05c51325d Allow dracut-config-rescue to be installed so installed systems have a
rescue kernel. Also remove the rescue kernel and initramfs on the live
itself. Fixes bug #1317709
2016-03-25 12:36:19 -06:00
Kevin Fenzi
2d034dd1c6 Nuke random seed in install, the new instance should make it's own. Fixes bug #1314879 2016-03-05 09:26:35 -07:00
Dennis Gilmore
534fd19ce0 make sure that all the livecds and arm images have glibc-all-langpacks installed
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-29 14:30:52 -06:00
Dennis Gilmore
abdadb9819 livemedia-creator uses dnf so get rid of the migration bits.
do not mount /var/cache/yum as it makes no sense

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-19 17:02:56 -06:00
Rex Dieter
3ad15c2869 live-base: pass explicit --device option to network
work to avoid
Error: creating Live CD: No --device specified with network kickstart command
2016-02-11 09:16:20 -06:00
Dennis Gilmore
91a99a0635 increase the disk size for images that failed to compose due to space issues
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-09 06:59:50 -06:00
Dennis Gilmore
9607fe239d Changes needed to switch to livemedia-creator
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-09 02:13:16 -06:00
Kevin Fenzi
fd4b26341c Don't nuke the initramfs by default. Needed for bug 1214441 2015-12-05 12:44:57 -07:00
Adam Williamson
db62fb95bb drop forced fontconfig cache generation, should not be needed
Per discussion on #1169979, fontconfig upstream think they have
the bugs licked, so this shouldn't be needed any more. We need
to check the nightly lives after this and see if their caches
are now correct.
2015-11-04 12:56:21 -08:00
Kalev Lember
b773ad0ff9 live base: Migrate yum's yumdb over to dnf
As livecd-creator is still yum based, we only get yum's yumdb during
live image composes. To work this around, this commit adds a %post
script to fedora-live-base.ks to migrate yum's yumdb over to dnf.

https://bugzilla.redhat.com/show_bug.cgi?id=1274319
2015-10-22 20:11:50 +02:00
David Ward
0ecfd28e29 fedora-live-base.ks: enable ModemManager service
The ModemManager package is already installed for all live images;
it should be enabled so users can connect to WWAN right after boot
using the NetworkManager applet.

Signed-off-by: David Ward <david.ward@ll.mit.edu>
2015-09-07 10:32:16 -06:00
Adam Williamson
cf118093e3 add dracut-live to fedora-live-base so lives boot: #1242586 2015-07-13 10:06:01 -07:00
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