Commit Graph

1919 Commits

Author SHA1 Message Date
Peter Robinson
1b78636ab1 ARM images: remove bits we don't need/want to help reduce image size
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-06-13 15:38:50 +01:00
Dusty Mabe
f15dd026fe
atomic, cloud: remove rhgb by removing plymouth
a59dfe5 caused us a few problems:
  - sed was breaking the symlink on atomic systems
  - /boot/grub2/grub.cfg is not the right file on a UEFI system
  - etc..

We'll solve this problem a different way by just not installing
plymouth in our systems, which is another way [1] to make sure
rhgb/quiet don't appear on your kernel command line.

[1] ee91db6fa3/pyanaconda/payload/__init__.py (L722-L726)

(cherry picked from commit 68804358d8)
2017-05-24 01:52:47 -04:00
Dusty Mabe
e7742ffc33
cloud: fix errors that happen on UEFI systems
We are seeing an error on aarch64 cloud image creation because
of the vfat filesystem and the fixfiles command failing:

+ /usr/sbin/fixfiles -R -a restore
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/fonts/unicode.pf2:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/gcdaa64.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/grub.cfg:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/grubaa64.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/grubenv:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/BOOT/BOOTAA64.EFI:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/BOOT/fallback.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/BOOT.CSV:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/MokManager.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/shim-fedora.efi:  Operation not supported
/sbin/restorecon: Could not set context for /boot/efi/EFI/fedora/shim.efi:  Operation not supported

(cherry picked from commit ba950669f1)
2017-05-24 01:51:03 -04:00
Dusty Mabe
007c54025d
docker-base: ignore return code of systemd-tmpfiles
Ignore the return code of the systemd-tmpfiles command because
at this point we have already removed the /etc/machine-id (8f3beac)
and all tmpfiles lines with %m in them will fail and cause a bad
return code. Example failure:
  [/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m

(cherry picked from commit a4ae071339)
2017-05-19 13:13:09 -04:00
Dusty Mabe
75d580c3fa
docker-base: limit systemd-tmpfiles to /run/
In 96a6711 we added re-running systemd-tmpfiles to add files to /run
on the root fs of the container. Here we'll limit where systemd-tmpfiles
puts files by passing it --prefix /var and --prefix /var/run/

(cherry picked from commit 93205adc7d)
2017-05-19 13:12:52 -04:00
Dusty Mabe
0f69fe0d48
docker: add comment about partitioning for clarity
(cherry picked from commit 6bfa0c57b3)
2017-05-19 13:10:06 -04:00
Dusty Mabe
9e47cff172
cloud: remove comments that don't apply
should have been removed in 30c4fdd
2017-05-19 13:06:50 -04:00
Dennis Gilmore
d35eba9297 Merge #227 cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images 2017-05-19 16:51:39 +00:00
Dusty Mabe
4393b884b3 use mirrorlist url instead of metalink url
There is an anaconda bug [1] where passing in metalink urls no longer
works after f25. Use mirrorlist urls to workaround.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1450129

(cherry picked from commit 77a25abded)

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-05-15 16:30:57 -04:00
Peter Robinson
30c4fddde7 cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-05-15 17:32:12 +01:00
Christian Dersch
289081819e lxqt: use new comps groups 2017-05-12 11:02:33 +02:00
Christian Dersch
e9c9928c83 lxqt: no updater applet in live environment 2017-05-12 11:01:49 +02:00
Dusty Mabe
6338afb23c
atomic: don't use cmdline for install mode
similar change was done for docker/cloud in f6ecdc3

cmdline makes it so that %post --erroronfail won't actually stop the
installation in a way that imagefactory will detect the problem and
fail the build. See [1] for more details.

[1] https://github.com/rhinstaller/anaconda/issues/931

(cherry picked from commit 8f142150ba)
2017-05-08 11:38:45 -04:00
Dusty Mabe
7243faa567
atomic, cloud: disable rhgb/quiet on boot
We want more verbose output on boot.

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

(cherry picked from commit a59dfe5f40)
2017-05-08 11:38:45 -04:00
Dusty Mabe
d38606ec42
atomic, cloud: don't create none user
Anaconda doesn't seem to require it anymore so no need to create it
and then delete it.

(cherry picked from commit 4948e8c002)
2017-05-08 11:38:45 -04:00
Björn Esser
1c64d4718a Cinnamon: Remove unneeded stuff 2017-05-06 18:24:57 +02:00
Peter Robinson
1b19a4c21b 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:39:22 +01:00
Peter Robinson
a8152f2e31 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 10:39:22 +01:00
Dusty Mabe
fa047a1949
atomic: update link and revert some of the cherry-pick
Update the trac link to point to the pagure issue. Also
we don't actually want to enable legacy network service.
This was also reverted for f25 in 6f3661e.

(cherry picked from commit c49c95145d)
2017-04-19 17:11:19 -04:00
Jason Brooks
0c7d01ca5e
networking fixes for f25
* removes the extra ens3 ifcfg that seems to be added
by dracut at some point (cloud base did this in their
ks a year ago in c509863)
* adds net.ifnames=0 to the bootloader line, because
that seems to be necessary to actually disable consistent
device naming
* enables the network service

see https://pagure.io/atomic-wg/issue/174

(cherry picked from commit 5d987e82b3)
2017-04-19 17:11:03 -04:00
Dusty Mabe
e096cbed83 zero out resolv.conf during install
Anaconda is writing an /etc/resolv.conf from the install environment.
The system should start out with an empty file, otherwise cloud-init
will try to use this information and may error:
https://bugs.launchpad.net/cloud-init/+bug/1670052

(cherry picked from commit fc0a635bc4)
2017-04-18 17:35:58 -06:00
Mohan Boddu
c8f435a6a0 Fixing python-classroom for armhfp
emacs requires hunspell and not having hunspell is failing the compose

package webkitgtk4-2.16.1-2.fc26.armv7hl requires libenchant.so.1, but none of the providers can be installed
package emacs-1:25.2-0.1.rc2.fc26.armv7hl requires libwebkit2gtk-4.0.so.37, but none of the providers can be installed
package enchant-1:1.6.0-16.fc26.armv7hl requires libhunspell-1.5.so.0, but none of the providers can be installed

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-04-18 14:50:13 -04:00
Miro Hrončok
00d0830aaf Add @python-science to Python Classroom Lab 2017-04-18 13:23:55 -05:00
Peter Robinson
54d01cbd53 disk: remove duplicate services 2017-04-12 22:35:46 +01:00
Peter Robinson
7e810e6fb7 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:39:43 +01:00
Peter Robinson
09afeb926f Add Workstation 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).

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 17:39:43 +01:00
Peter Robinson
34ce2e2165 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 17:39:43 +01:00
Peter Robinson
d9fab6d0a9 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-12 11:17:07 +01:00
Peter Robinson
d0ae69f8eb 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-12 11:17:07 +01:00
Peter Robinson
5571ec20dd arm: tweak the image root file slightly
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-12 11:17:07 +01:00
raveit65
685a19ff40 MATE: remove backgounds from spin, already in comps 2017-04-10 09:54:12 +02:00
Björn Esser
9bb254b865 Cinnamon: Add German spin-variant 2017-04-04 10:31:30 +02:00
Peter Robinson
f4a0c73bfe 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-04-03 23:54:10 +01:00
Peter Robinson
5bcdb60f13 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-04-03 23:53:31 +01:00
Björn Esser
88a9240267 Cinnamon: dnfdragora is pulled by comps now 2017-04-04 00:07:29 +02:00
Björn Esser
407ca518cd LXQt: dnfdragora-gui pulls libyui-qt automatically 2017-04-03 23:42:50 +02:00
raveit65
b8a45187ae Mate: drop f25-backgrounds-extras-base 2017-03-31 15:41:12 +02:00
Peter Robinson
c6826272fc Fix the vagrant and bigdata cloud images
With moving to grub2 we now need to remove the extlinux bits from the
other cloud images. They were missed in the move

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-28 15:59:17 +01:00
Adam Williamson
cf2a91f935 Bump to f26-backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-03-26 21:26:04 -07:00
Peter Robinson
b49fdad2b6 add comment about boot parts on cloud/docker images
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
f7dc6eacf4 remove arm and ppc cloud base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
2bbf715cd9 Add bits required for aarch64 images
We drop the explicit grub2 as aarch64 only has grub2-efi but anaconda will
sort that out and ensure all the right bits are installed during the install
so we should get the right grub2 bootloader options for each arch OOTB.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
23b814089b 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-23 12:58:19 -05:00
Peter Robinson
19fb556f9f remove arm and ppc docker base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
0996c4996e Adjust docker-base 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-23 12:58:19 -05:00
Peter Robinson
f7bef12438 Minor inline docs updates
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Peter Robinson
4ed12a7027 switch cloud images permanently to grub2
The main reason for cloud to use extlinux is the size of deps being
pulled in by grub2-tools. This will be fixed in F-26 with the ability
to use grub2/grub2-efi without the tools package and it's deps fixing
this issue for good. There will no doubt need to be be some tweaking
required here.

We need grub2 in cloud images for non x86 as well as for the increasing
x86 cloud platforms that require the support of uEFI which extlinux
doesn't support.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 12:58:19 -05:00
Colin Walters
d8b59962cd
atomic: Append GROWPART to d-s-s config
Rather than truncating.  This allows us to preserve any existing
configuration (e.g. overlayfs by default).

(cherry picked from commit 954957e609)
2017-03-22 20:19:02 -04:00
Dusty Mabe
aefa165253
atomic: update remote delete/add for f26 alpha
Update remote delete/add code for f26 pre-release.
We won't need this code after release.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-15 16:59:09 -04:00
Dusty Mabe
c8f098b393
atomic: fix ref for f26 atomic host
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-15 11:50:45 -04:00