1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-18 14:23:07 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Peter Robinson
a6da97b44e Reduce some packages that aren't of much use in the containers
Filesytem tools, TPM tools, libusb and friends aren't of much use in
a docker container so remove them.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-24 18:19:28 +00:00
Peter Robinson
eae48ec488 Add a docker common kickstart as a central bit for shared config.
There's a lot of similarities between base and base-minimal so
introduce a docker-common.ks to ensure as much as possible is shared
between the two ensure as much shared as possible.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 17:40:57 +00:00
Dennis Gilmore
df8eca7318 import just the primary rpm gpg key
anaconda apparently fails now if the scriptlet fails which happens
on 32 bit arm:
Error

  There was an error running the kickstart script at line 28.  This is a fatal
  error and installation will be aborted.  The details of this error are:

  + LANG=en_US
  + echo '%_install_langs en_US'
  + echo 'Import RPM GPG key'
  Import RPM GPG key
  ++ rpm -q --qf '%{version}\n' fedora-release
  + releasever=27
  ++ uname -i
  + basearch=armv7l
  + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-armv7l
  error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-armv7l: import read failed(2).

  Press ENTER to exit: systemd-localed.service: Got notification message from PID 2286 (STOPPING=1)

as all the rpms in f27 are signed by the sole key lets just import that

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-10 15:36:28 -06:00
Peter Robinson
1938458f20 Adjust docker-base-minimal ks for aarch64
Add the EFI partition in so anaconda doesn't lose it. Ulimately doesn't affect
docker image size as boot and friends are discarded as part of the process.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 16:27:59 +00:00
Dusty Mabe
7ba27d5891
docker-min,docker-base: remove reference to yum in kickstart 2017-01-24 18:07:07 -05:00
Dusty Mabe
e99c9edc74
docker-min: remove e2fsprogs,libss,fuse-libs 2017-01-24 18:07:07 -05:00
Dusty Mabe
42b8714c65
docker-min: a few more things that can be removed 2017-01-24 18:07:07 -05:00
Dusty Mabe
6f0cdf042d
docker-min: make our rm commands verbose 2017-01-24 18:07:07 -05:00
Dusty Mabe
22bc79ed6f
docker-min: move /run/lock to %post nochroot
umount doesn't exist in the minimal image
2017-01-24 18:07:07 -05:00
Dusty Mabe
af27549437
docker-min: move /usr/share/{locale,i18n} to %post nochroot
find does not exist in the minimal image chroot so we'll have to
run it from outside.
2017-01-24 18:07:07 -05:00
Dusty Mabe
135de4a70b
docker-min: add a comment, remove a comment 2017-01-24 18:07:06 -05:00
Dusty Mabe
ee367f90b0
docker-min: merge pruning commands
Merge pruning commands. Don't rm /etc/machine-id or /run/ because we
just ran commands to touch /etc/machine-id and /run/lock
2017-01-24 18:07:06 -05:00
Dusty Mabe
8ce607a7ef
docker-min: cleanup dead code
usr/share/gcc* isn't in the image.
2017-01-24 18:07:06 -05:00
Dusty Mabe
ac2953ec38
docker-min: fix /run/lock without legacy.conf or systemd-tmpfiles 2017-01-24 18:07:06 -05:00
Dusty Mabe
1efe347bcb
docker-min: delete systemctl mask calls
No systemd so no need to mask.
2017-01-24 18:07:06 -05:00
Dusty Mabe
46c10b3c76
docker-min: remove cleanup of /usr/share/doc
There are no files in those directories to clean up.
--excludedocs is doing its job.
2017-01-24 18:07:06 -05:00
Dusty Mabe
4109ebf261
docker-min: trim down package list, exclude weak deps
We only want basics and microdnf.
2017-01-24 18:07:05 -05:00
Dusty Mabe
5cbb3babd0
docker-min: add in post processing from walters' scripts
He has done some work on this in the past at [1].

[1] - 3f6c905fef/postprocess.sh
2017-01-24 18:07:05 -05:00
Dusty Mabe
2f3f37ebd6
docker-min: add a new kickstart for creating a slimmer image
We'll start with the same used for fedora docker base.
2017-01-24 18:06:45 -05:00