Commit Graph

64 Commits

Author SHA1 Message Date
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
Lubomir Rintel
86e5d6c6a8 arm-base: pass --extlinux to bootloader
Since appliance-tools commit 3b2c7ef5f26d ('Enforce check of --extlinux in
bootloader') [1], extlinux.conf is not generated without this.

[1] https://pagure.io/appliance-tools/c/3b2c7ef5f26d
2020-08-08 00:16:49 +02: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
19a7b3b113 Do not rely on fedora-release
fedora-release package is not installed on e.g. fedora-arm-server
which later on results in GPG key to be not installed properly.
2019-07-15 09:19:44 +02:00
Peter Robinson
4f004227f3 drop chkconfig from arm kickstart
The livecd-tools/imgcreate issue where it still used chkconfig to enable services
was resolved with release 27.0-1 so the chkconfig requirement can now be dropped.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2019-05-08 14:03:33 +01:00
Peter Robinson
06ce4be308 Remove obsolete network service disable
We don't ship traditional network scripts in any of the arm
images anymore so this is a no-op.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2019-04-04 06:38:54 +01:00
Adam Williamson
9b0b39f7d6 Add chkconfig package to fedora-arm-base.ks
Both the kickstart itself and imgcreate expect chkconfig to be
available in the installed system, so we'd better make sure it
is. Up till Fedora 30 Beta it was getting pulled in somehow;
since Fedora-30-20190330.n.3 it seems it is not (probably not
in Rawhide either). In any case, it's clearly correct to list it
explicitly.

See https://bugzilla.redhat.com/show_bug.cgi?id=1695637

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-04-03 11:56:06 -07:00
Paul Whalen
8e10ac1ee6 Remove iproute-tc exclusion from fedora-arm-base 2019-01-30 13:50:38 -05:00
Paul Whalen
d43129d5e8 Remove duplicate partitioning on arm base, minimal. 2019-01-25 12:46:43 -05: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
f96a309329 arm: align the 32 bit images with what we do on aarch64 to make maitenance easier
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-30 18:18:49 +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
Dennis Gilmore
31617698c5 fix up arm bootloader configuration
ksvalidate complains that "bootloader extlinux" is invalid
ksflatten changes the bootloader option to
"bootloader --location=mbr" we get working configuration using
the updated option so setting the default to it.  The Jenkins
job on pagure is failing due to invalide syntax

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2018-02-24 10:52:52 -06:00
Dusty Mabe
0345ed81e0
python-classroom: add/delete some excludes for armhfp
When trying to build python classroom for armhfp we end up
in quite a dependency hell. Hunspell was the first issue
(fixed in the previous commit). Then there was all of this:

```
 Problem 1: conflicting requests
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
 Problem 2: conflicting requests
  - nothing provides dleyna-renderer needed by gnome-photos-3.27.90-1.fc28.x86_64
 Problem 3: conflicting requests
  - nothing provides gnome-user-docs needed by gnome-getting-started-docs-3.26.2-2.fc28.noarch
 Problem 4: package NetworkManager-openconnect-gnome-1.2.4-9.fc28.x86_64 requires libopenconnect.so.5()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides libtspi.so.1()(64bit) needed by openconnect-7.08-5.fc28.x86_64
 Problem 5: package gnome-initial-setup-3.27.90-2.fc28.x86_64 requires gdm, but none of the providers can be installed
  - package gdm-1:3.27.4-4.fc28.i686 requires gnome-shell, but none of the providers can be installed
  - package gdm-1:3.27.4-4.fc28.x86_64 requires gnome-shell, but none of the providers can be installed
  - conflicting requests
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
 Problem 6: package gnome-shell-extension-window-list-3.27.1-3.fc28.noarch requires gnome-shell-extension-common = 3.27.1-3.fc28, but none of the providers can be installed
  - package gnome-classic-session-3.27.1-3.fc28.noarch requires gnome-shell-extension-window-list = 3.27.1-3.fc28, but none of the providers can be installed
  - package gnome-shell-extension-common-3.27.1-3.fc28.noarch requires gnome-shell >= 3.27.1, but none of the providers can be installed
  - conflicting requests
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
 Problem 7: conflicting requests
  - package gdm-1:3.27.4-4.fc28.i686 requires gnome-shell, but none of the providers can be installed
  - package gdm-1:3.27.4-4.fc28.x86_64 requires gnome-shell, but none of the providers can be installed
  - nothing provides libedataserver-1.2.so.23()(64bit) needed by gnome-shell-3.27.1-5.fc28.x86_64
```

Note: I used an x86_64 machine to do the dependency debugging.

So here is what I decided to do:

- remove `-evolution*` (evolution-data-server provides libedataserver-1.2.so.23()(64bit))
- remove `-trousers-lib` (trousers-lib provides libtspi.so.1()(64bit))
- add `-gnome-photos` since a lot of other gnome apps were excluded
- add `-gnome-getting-started-docs` since gnome-user-docs was excluded

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-20 19:20:38 -05: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
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
ce000bfed8 arm: drop dracut-config-rescue as the rescue images aren't overly useful on the disk images and cause other issues with extlinux
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-05 13:58:24 +01:00
Peter Robinson
d0bcf40960 arm: minor package tweaks, drop Intel wireless FW, trousers, dial-up as not overly useful OOTB on ARM
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-05 13:57:04 +01:00
Peter Robinson
2f3bede998 arm: tweak the image root file slightly
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-05 13:48:57 +01:00
Peter Robinson
2ccc0a538b Move back to ext4 now that u-boot 2016.11 RC1 fixes ext4. The support for dealing
with the extra changes and features in ext4 has been resolved so we can now move
back to ext4 on boot partition.
2016-10-19 11:23:55 +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
b2f97b7d22 Initial support for Raspberry Pi. We continue to support existing ARM
images without any change to the process (except they have a small 30Mb
partition at the begining of the image) but all exisiting documented
processe work for image writing. The RPi is auto configured and a pure
dd to the card, plug and boot.
2016-09-22 14:33:42 +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
Peter Robinson
354cf22cf3 add rng-tools to all ARM images as most arm HW has a HW rng 2016-09-07 15:31:36 +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
Peter Robinson
bee9e7d29a move arm boot partition to ext3
With e2fsprogs after 1.43 the 64bit and metadata_csum features are
enabled by default. These features are not currently supported in
u-boot and the 64bit feature introduces changes such that it cannot
be read by implementations that do not support it. U-Boot does not
support the functionality and hence now won't mount it just in case
it corrupts the filesystem, which is a reasonable response, this how
ever stops us from booting when we have a ext4 /boot file system
which means basically we end up with a pot plant. Go back to using
ext3 for the time being as the mkfs.ext3 option doesn't enable these
features and we get booting systems!! YAY \o/
2016-08-17 13:05:48 +01:00
Adam Williamson
ebf2683744 specify libcrypt packages in fedora-arm-base for RHBZ #1324623
This seems to be enough to work around yum's issues in dealing
with the libcrypt/libcrypt-nss package split, at least it is
for me.
2016-08-15 13:58:01 -07:00
Dennis Gilmore
fc2a0cf4d5 install new arm-tools group to pull in tools for booting arm systems.
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-30 10:08:58 -05:00
Peter Robinson
266fba7c2e arm: add fedora-arm-installer 2016-05-17 13:50:51 +01:00
Peter Robinson
ff8162790b Nuke random seed in install for ARM images too, the new instance should make it's own. Fixes bug #1314879 2016-03-05 17:44:00 +00:00
Dennis Gilmore
c615ddf087 increate the size of some of teh arm images. the install was too big
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-29 21:01:20 -06: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
1de4bff8c4 make the arm base / 3070 LXDE was too big and this keeps the image under 4GiB
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-25 16:30:42 -06:00
Dennis Gilmore
55fdac893b arm-boot-config has been removed from fedora
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-17 10:48:43 -06:00
Peter Robinson
3a904419b4 use dnf, not all ARM images have yum 2016-02-16 18:31:07 +00:00
Dennis Gilmore
21c9f3a5d2 enable initial-setup.service
initail-setup.service now handles running both the gui mode and text
mode running of initial-setup so just enable the one service and no
longer do any special handling rhbz#1296495

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-01-13 18:27:33 -06:00
Peter Robinson
098f03f685 arm: fix up boot partitions 2015-10-21 09:47:59 +01: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
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
Peter Robinson
29ca666dc8 ARM minimal: adjust image size now X isn't being pulled in again 2015-04-18 18:37:55 +01:00
Dennis Gilmore
c699a0b7eb clean up the text printed in teh arm disk logs 2015-01-27 14:24:34 -06:00
Adam Williamson
9e226727b9 also put fedora-release-nonproduct in fedora-arm-base.ks
to fix the generic problem for Beta
2014-12-12 15:58:40 -08:00
Peter Robinson
2fa7a61c8e remove growroot in arm images to test 1109603 2014-07-16 10:28:48 +01:00
Dennis Gilmore
8c34b5ffa9 ARM: kickstart cleanups
remove vfat kickstarts, we are going to use u-boot in raw space
without needing two sets of images with different partitioning we
can remove the seperate partitioning snippets and put the
partitioning in base.
2014-05-06 12:31:06 -05:00
Dennis Gilmore
2e8e82a93d install uboot-images-armv7 rather than the old individual u-boto images
don't install initial-setup-gui on the minimal text only image
2014-04-21 16:07:44 -05:00
Dennis Gilmore
40f4327565 do not install the lpae kernel in the images. The hardware we support that
needs the lpae kernel is best served using anaconda installs not images
2014-02-12 03:35:09 -06:00
Kevin Fenzi
85220e627b Add initial-setup-gui for arm. Fixes bug #1049545 2014-01-08 15:23:23 -07:00