Commit Graph

152 Commits

Author SHA1 Message Date
Benjamin Berg 4f4fe63125 live-base: Disable abrtd on live systems
Grabbing coredumps on live systems is not a good idea. Either there is
no persistent storage, or it will be really slow and also small. So
disable abrtd and stop it in the same way as other services.
2018-03-07 16:18:48 +01:00
Adam Williamson d7b3eaf9ef Don't list grub2-efi for live images
The arch-specific sub-packages that provide grub2-efi on each
arch are listed in @anaconda-tools comps group anyway (so this
is redundant), and requiring it by name in a kickstart causes
i686 live image composes to fail because it is no longer built
for i686.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-04 15:05:44 -08:00
Jonathan Steffan 75a71d5aa4 Update inline comment to reflect the change from the fedora username to the liveuser username. 2017-06-19 22:06:44 -06:00
Dennis Gilmore 71bed67657 add rootpw --lock to all livekickstarts
for rhbz#1392468 I was told that what we had should never have worked.
A bug in anaconda was fixed causing the need for the user or root
spokes to have to be dealt with. locking the root account should
satisfy everything.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-11-12 15:10:51 -06:00
Kamil Páral 85bb31edc6 fedora-live-base: change static hostname to localhost-live
This prevents systemd to update it during boot if DHCP supplies a
hostname, which causes sddm to not start. See
https://bugzilla.redhat.com/show_bug.cgi?id=1370222

Signed-off-by: Kamil Páral <kparal@redhat.com>
2016-10-31 19:05:57 +01:00
Peter Robinson 30c3f7e721 Touch the machine-id file
So is seems that if you remove the machine-id file it won't regenerate the file
but if you touch the file and leave it empty on boot it'll put a new machine-id
in the empty file. So work around this bug ("feature"?) by touching the file
so we don't have other issues in the process.

We're track the outcome of this in RHBZ 1379800
2016-09-27 20:17:46 +01:00
Peter Robinson 890829fdbb Remove machine-id on pre generated images so it's unique on each deployed device
As referenced on the arm list [1] and as already being done on the docker image we
should remove the unique /etc/machine-id file on compose artifacts to ensure it's
regenerated and unique on each deployed host/device. This unifies the process across
all base ks so it's inherited for each artifact.

[1] https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org/message/Q3YZVF5P2OLLPUJQ2LYZSTKWGGDIU6QO/

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2016-09-13 09:11:57 +01:00
Adam Williamson 4af7364074 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 11:27:40 -06: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