Commit Graph

22 Commits

Author SHA1 Message Date
Peter Robinson
702ce7ddfd arm: changes for the UEFI on ARMv7
Primarily changes for UEFI on ARMv7 but also some cleanups/updates
for the arm/aarch64 images.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2021-02-18 18:09:28 +00:00
Kevin Fenzi
6669bac9c4 drop rng-tools from arm-base and disk-base
rng-tools was dropped from standard comps group recently,
so it's no longer installed by default. Lets remove it from here as well
to get arm and server images building again.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-14 09:59:34 -07:00
Paul Whalen
d9ae4f700d Detect arch for copying uboot on arm.
Signed-off-by: Paul Whalen <pwhalen@fedoraproject.org>
2020-10-13 20:48:20 -04:00
Peter Robinson
e3284c395b Fixes for ARMv7 images
Now we're building ARMv7 UEFI images we need appropriate U-Boot binaries.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2020-10-07 13:42:42 +00:00
Peter Robinson
90adad6149 Fix setup of Raspberry Pi on ARMv7 for UEFI images
The Raspberry Pi isn't properly setup for ARMv7 as the arch detect during
build was missed, hence nothing gets copied and the image won't boot.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2020-10-06 16:43:28 +01:00
Chris Murphy
e7575bafcd Remove references to zram and zram-swap
The zram package and its zram-swap service are obsoleted as part
of the swaponzram change.

https://fedoraproject.org/wiki/Changes/SwapOnZRAM

Signed-off-by: Chris Murphy <chrismurphy@fedoraproject.org>
2020-07-09 23:22:28 +00:00
Lubomir Rintel
84d28df1b2 Include size in package lists, sort them
This is done so that it's easy spot large packages that are not
necessary and identify packages that have grown in size too much
by diffing the image compose logs.

  sed "s/rpm -qa/rpm -qa --qf '%{size}\\\\t%{name}-%{version}-%{release}.%{arch}\\\\n' |sort -rn/" -i *.ks
2020-06-17 13:22:02 +02:00
Peter Robinson
4dd8211d56 Some rpi updates for image builds 2019-12-13 04:34:51 +00:00
Peter Robinson
6841b8b115 Remove auth line from kickstarts
The "auth --useshadow --passalgo=sha512" is long default and auth option
itself has moved to authselect and is obsolete so this actually pulls
in extra dependencies. Drop it as the shadaow and sha512 are defaults.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2019-12-06 22:22:48 +00:00
Damian Wrobel
68b6257e0e Unify obtaining 'relesever'
Continuation of https://pagure.io/fedora-kickstarts/c/19a7b3b113d97db14d27f6a86db3c7479453a5ea?branch=master
but across entire repository.
2019-07-17 10:55:01 +02:00
Adam Williamson
255b48f233 Move exclusions of trousers-lib and iproute-tc to minimal-common
These are aiming to leave some weak dependencies out of minimal
images, it seems. From @core, gnutls recommends trousers which
requires trousers-lib, and iproute recommends iproute-tc.

However, both are *hard* dependencies of things that include
fedora-disk-base.ks. fedora-disk-workstation.ks includes
fedora-disk.base.ks and fedora-workstation-common.ks, so it
installs the Workstation package set, from which gnome-boxes
ultimately requires iproute-tc and NetworkManager-openconnect
ultimately requires trousers-lib.

Prior to the change I recently got merged into DNF, DNF would
silently drop gnome-boxes and NetworkManager-openconnect from
the Workstation disk image because of this. With the change, it
errors out on creation of the image.

To make the image compose again and actually include the right
packages, let's move the exclusions to fedora-minimal-common.ks,
where they make more sense anyway. This does mean the packages
will be pulled into other non-minimal images even if they're
not strictly required there, but that doesn't seem like a big
problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 14:57:35 -07:00
Peter Robinson
d33a56133a Update to deal with changes for Raspberry Pi firmware handling
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-31 20:04:57 +01:00
Peter Robinson
66d587dc54 Add zram package and enable initial support
As part of the ZRAM on ARM feature add support and enable zram service.

https://fedoraproject.org/wiki/Changes/ZRAMforARMimages

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-07-19 11:54:38 +01:00
Kevin Fenzi
110f37d82f Drop workaround for libcrypt/libcrypt-nss.
glibc has completely dropped libcrypt-nss now so we need to just drop this workaround.
2017-12-16 10:00:24 -08:00
Peter Robinson
4af1ec7312 The enp1s0 interface is a left over from the imagefactory install, clean this up in post install 2017-11-03 18:30:08 +00:00
Peter Robinson
b6ef454057 drop specifying specific console, ARM has many and varied options
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-10-09 20:52:59 +01:00
Peter Robinson
1366cd8f44 ARM images: remove bits we don't need/want to help reduce image size
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:24:31 +01:00
Peter Robinson
17e07ed5f0 For RPi3 64 bit we need to put the 64bit config in place to boot
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-30 10:12:46 +01:00
Peter Robinson
820c830c4c aarch64: we don't install initial-setup in Worksttion so don't try to enable the service
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-30 09:59:28 +01:00
Peter Robinson
a3c6e41697 disk: remove duplicate services 2017-04-12 22:36:25 +01:00
Peter Robinson
d8fb90786c Add Server disk image for aarch64
This is a generic disk image that should be usable on any architecture with
imagefactory or live-media-creator (possibly with package tweaks).

Minor tweaks to the autopart across Minimal/Workstation for Server defaults.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 17:37:43 +01:00
Peter Robinson
1abecdd463 Add minimal disk image for aarch64
This is a generic disk image that should be usable on any architecture with
imagefactory or live-media-creator (possibly with package tweaks). It creates a
minimal-common.ks to share as much as possible with the ARMv7 specific
fedora-arm-minimal.ks

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 16:14:53 +01:00