Compare commits

..

108 Commits

Author SHA1 Message Date
Christian Dersch
a34e9933c4 astronomy: removed python3-healpy (not available ob i686, pulled in as a weak dep of python3-reproject on x86_64) 2017-10-16 15:00:47 +02:00
Sinny Kumari
2d460892ea Include console=ttyAMA0 and console=hvc0 in Atomic kickstart
While booting Atomic cloudImage, we want to see kernel messages
on both VGA and serial console. It works fine with
tty1(vga console) and ttyS0(serial console) on x86_64 arch.
But, aarch64 and ppc64le doesn't use ttyS0 as serial console.
Instead, they use ttyAMA0(aarch64) and hvc0 (ppc64le).

Also, good point is that if a serial console specified in kernel
boot parameter is not supported on a given hardware platform, it
gets ignored. For example: console=ttyAMA0 and console=hvc0 will
get ignored on x86_64

Fixes: https://pagure.io/atomic-wg/issue/347

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2017-10-14 00:08:40 +05:30
Tomas Mlcoch
673510bb16 Remove modular kickstarts for docker
They are replaced by kickstarts from PR:
https://pagure.io/fedora-kickstarts/pull-request/301

They aren't needed because of:
https://pagure.io/pungi-fedora/pull-request/403

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-13 15:18:00 +02:00
Tomas Mlcoch
4f135d3451 Backport arm-base kickstart for modular fedora from master
Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-13 14:53:53 +02:00
Tomas Mlcoch
5e3dd44b48 Backport kickstarts for modular containers from master
This obsoletes:
fedora-modular-docker-base-minimal.ks
fedora-modular-docker-common.ks
that will be removed soon by another commit.

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-13 14:51:30 +02:00
Peter Robinson
c6b30892c3 drop specifying specific console, ARM has many and varied options
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-10-09 20:58:12 +01:00
Dusty Mabe
d91769ea0b atomic: extend the root filesystem to fill VG
With the change to using overlay in the root filesystem [1]. We
need to configure the cloud images to extend the root filesystem
by default [2]. Fixes [2]

[1] https://pagure.io/atomic-wg/issue/281
[2] https://pagure.io/atomic-wg/issue/343

(cherry picked from commit 97b0af5d00)
2017-10-05 16:29:04 -04:00
Dusty Mabe
afc2a37a1f atomic: use basearch in ostreesetup line
This will help enable us to use the same kickstart file for multiple
architectures. Enabling work was in the pull requests listed below:

https://github.com/projectatomic/rpm-ostree/pull/877
https://github.com/rhinstaller/anaconda/pull/1186

(cherry picked from commit c3095c82ba)
2017-10-05 16:29:02 -04:00
Christian Dersch
ccf44b42b5 astrometry: added development and astrometry 2017-10-04 11:45:37 +02:00
Colin Walters
623954ee2f atomichost: Update partitioning for new model
See https://pagure.io/atomic-wg/issue/281

This causes us to match the productimg setup. At some point hopefully we can use
`autopart` and not duplicate it.
2017-09-29 09:16:21 -04:00
Sinny Kumari
1887cb4fa5 Use reqpart in Fedora Atomic kickstart
Building Fedora Atomic CloudImage on architectures like
aarch64 and ppc64le needs platform specific partitions as well.

Issue - https://pagure.io/atomic-wg/issue/299#comment-449243

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2017-09-14 17:43:05 +05:30
Peter Robinson
b57f7360a4 SoAS and LXQT: increase root fs size
The installs don't quite hit on the default base image size so
increase it for both spins so they will build.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:23:15 +01:00
Peter Robinson
9dfd288a36 KDE: fix compose due to core deps needing make
So make is needed by openssl and compat-openssl10 which is turn is needed
by key things such as qt5-qtbase, mariadb and other core things that are
explictly needed in the KDE spin. I have no idea why the ARM images fail
and the live media does not because all arches have this dep.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:23:01 +01:00
Peter Robinson
61cb946439 Mate: fix contractdictory package lists
So MATE removes PackageKit and then tried to add PackageKit-command-not-found
which is contradictary and will fail to install so drop the later so things
will at least compose.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:22:43 +01:00
Peter Robinson
98eed504de 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:20:35 +01:00
Peter Robinson
d5e9ab1d4b Fix MATE dependencies
There's a number of dependencies that are being excluded but are needed by core
MATE components so the arm images fail because of this. Also fix the mp3 support
package as that's now in gstreamer1-plugins-ugly-free

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-08-16 18:14:25 +01:00
Mohan Boddu
55bedb122a Branching f27 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-08-15 13:29:14 -04:00
Dennis Gilmore
1570013376 Merge #268 design-suite: add more gnome applications 2017-08-15 17:28:35 +00:00
Dennis Gilmore
061d3c434a Merge #265 Cinnamon: disable dnfdragora applet on live 2017-08-15 17:27:16 +00:00
Dennis Gilmore
e138f824be Merge #262 MATE: disable dnfdragora applet on livecd 2017-08-15 17:26:35 +00:00
Dennis Gilmore
d50e85405a Merge #255 Fix links to this example TDL file. 2017-08-15 17:26:01 +00:00
Dusty Mabe
49357c4246 container: rm nologin file from container image
This allows one to create an sshd container if they want.

See https://pagure.io/atomic-wg/issue/316
2017-08-11 09:15:27 -04:00
Dusty Mabe
6b530c0957 atomic: remove temporary workaround for anaconda bug
This reverts commit 295519948b.

Now that the upstream fix [1] has been merged and a new version of
anaconda is in rawhide, we can revert this workaround.

[1] https://github.com/rhinstaller/anaconda/pull/1126
2017-08-10 11:53:23 -04:00
Tomas Tomecek
51d65e6bb1 docker base image: don't install docs by default
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2017-08-01 13:04:42 +02:00
Luya Tshimbalanga
253e92e325 design-suite: add more gnome applications 2017-07-17 22:06:50 -07:00
Dusty Mabe
51a3adeaab remove the atomic-installer directory
These files are stored and used from the fedora-lorax-templates [1]
repo. They haven't been used/updated from this location in a long time.

[1] https://pagure.io/fedora-lorax-templates
2017-07-17 13:52:48 -04:00
Dan Book
9d43d9cc9d Cinnamon: disable dnfdragora applet on live 2017-07-14 12:02:47 -04:00
Dusty Mabe
295519948b atomic: temporary workaround for anaconda bug
see https://pagure.io/atomic-wg/issue/301
2017-07-14 09:44:54 -04:00
raveit65
ed939f3345 MATE: disable dnfdragora applet on livecd 2017-07-14 09:46:13 +02:00
Lubomír Sedlář
57aa58c6e7 Update formatting of README
The comments in release process should not render as headers. This will
make it a code block instead.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-07-13 09:35:26 +02:00
Ralph Bean
15a5eabc7c A start at disk-minimal for the fedora modular release.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 17:41:31 -04:00
Ralph Bean
8a618529c7 Re-enable autopart (available in rawhide).
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 16:48:15 -04:00
Ralph Bean
f28c5e3bc1 A stab at the Modular Fedora Docker kickstarts.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 16:31:49 -04:00
Ralph Bean
d702d27389 Fix links to this example TDL file.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 15:58:34 -04:00
mattdm
021225b76d remove plasma-pk-updates from live environment
Should fix blocker bug https://bugzilla.redhat.com/show_bug.cgi?id=1436873 (Previous code here did not work.)
2017-07-01 09:27:31 -07:00
raveit65
a96164bc8b MATE: mark installer launcher as executable on live image 2017-06-30 13:02:58 -07:00
Kevin Fenzi
eceda6aaa3 Increase size on Xfce arm image as it's running out of space currently. 2017-06-24 08:13:16 -06:00
Dusty Mabe
467f7dcb3c atomic: enable gpg verification after install
Taking the first step towards enabling gpg verification for our
users we'll make it so that the media they download will verify
gpg signatures of commits by default.

The next step is to enable gpg verification during install as well
but there is a race condition where the commit that was just created
might not yet be signed. See [1] for more details.

[1] https://pagure.io/pungi/issue/650
2017-06-23 08:46:35 -04: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
Kevin Fenzi
329f6b3294 Fedora arm Xfce image is failing in rawhide currently needing an extra 23MiB
We should track down the extra space usage, but for now, lets just add 100MB

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2017-05-27 09:59:03 -06:00
Dennis Gilmore
497fbd6325 minimal disk image is failing in rawhide currently needing and extra 27MiB
Longer term we should determine why more disk is being used. for now make
the disk a tad bigger

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-05-26 16:53:02 -05:00
Dusty Mabe
d85921a078 atomic: add some comments about url locations 2017-05-25 11:27:21 -04:00
Dusty Mabe
a5b8d6075e atomic: use the same url scheme that is used in f2{5,6} 2017-05-25 11:21:19 -04:00
Dusty Mabe
df48af3278 atomic: move to new ref
Since we recently switched to fedora/rawhide/${basearch}/atomic-host
we should start pulling from there.

[1] https://pagure.io/fedora-atomic/c/ffada30
2017-05-25 11:19:39 -04:00
Dusty Mabe
68804358d8 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)
2017-05-24 01:41:20 -04:00
Dusty Mabe
ba950669f1 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
2017-05-24 01:39:49 -04:00
Dusty Mabe
6bfa0c57b3 docker: add comment about partitioning for clarity 2017-05-19 13:00:30 -04:00
Dusty Mabe
a4ae071339 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
2017-05-19 10:59:06 -04:00
Dusty Mabe
93205adc7d 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/
2017-05-19 10:58:59 -04:00
Dennis Gilmore
618d91e179 Merge #224 master: add mp3 encoding plugins 2017-05-16 15:53:10 +00:00
Dennis Gilmore
dd76f34ec7 Merge #226 cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images 2017-05-16 15:52:34 +00:00
Peter Robinson
00e6c35287 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:30:43 +01:00
Dennis Gilmore
832c0a3a72 Merge #222 rawhide: use mirrorlist url instead of metalink url 2017-05-14 20:30:11 +00:00
Dan Book
99a771611f master: add mp3 encoding plugins 2017-05-14 13:57:42 -04:00
Dusty Mabe
77a25abded 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
2017-05-13 20:28:51 -04:00
Christian Dersch
4d1bd4dc79 lxqt: no updater applet in live environment 2017-05-12 11:00:54 +02:00
Christian Dersch
1cf99bd765 lxqt: use new comps groups 2017-05-12 10:59:52 +02:00
Dusty Mabe
8f142150ba 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
2017-05-08 11:36:00 -04:00
Dusty Mabe
a59dfe5f40 atomic, cloud: disable rhgb/quiet on boot
We want more verbose output on boot.

See https://bugzilla.redhat.com/show_bug.cgi?id=510523
2017-05-08 11:35:19 -04:00
Dusty Mabe
4948e8c002 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.
2017-05-08 11:35:16 -04:00
Björn Esser
590c97f2cb Cinnamon: Remove unneeded stuff 2017-05-06 18:21:53 +02: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
Dusty Mabe
c49c95145d 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.
2017-04-19 16:29:22 -04:00
Jason Brooks
38c2313eef 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 15:59:00 -04:00
Adam Williamson
b90d3b6e01 Ditch all kdegames references (retired in Rawhide)
kdegames was retired, so ditch all references to it. This is
breaking KDE live image compose on Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-04-18 11:37:23 -07: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
5c7f39323d 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 16:57:21 +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
raveit65
2314b13b11 MATE: remove backgounds from spin, already in comps 2017-04-10 09:52:14 +02:00
Kevin Fenzi
e54a4bf5ad Merge #201 Add @python-science to Python Classroom Lab 2017-04-09 16:33:20 +00:00
Miro Hrončok
e6e4a24b54 Add @python-science to Python Classroom Lab 2017-04-09 18:23:24 +02: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
Björn Esser
32580756ee Cinnamon: Add German spin-variant 2017-04-04 01:11:58 +02:00
Björn Esser
20aa0dbe49 Cinnamon: dnfdragora is pulled by comps now 2017-04-04 00:06:15 +02:00
Björn Esser
8df9be66c0 LXQt: dnfdragora-gui pulls libyui-qt automatically 2017-04-03 23:41:06 +02:00
Björn Esser
f0ea45e7a6 Update comments to dnfdragora 2017-04-01 01:38:37 +02:00
Dennis Gilmore
a5d648e0df Merge #182 design-suite: drop workaround packages 2017-03-30 03:24:02 +00:00
Dusty Mabe
fc0a635bc4 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
2017-03-28 16:20:25 -04:00
Dennis Gilmore
483ef44d99 Merge #174 Reduce some packages that aren't of much use in the containers 2017-03-28 18:25:07 +00:00
Dennis Gilmore
a56e36485e Merge #179 Fix the vagrant and bigdata cloud images 2017-03-28 15:09:55 +00:00
Peter Robinson
c9fceb1c03 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 16:04:52 +01:00
Peter Robinson
2db89e4819 SoAS: drop need for webkitgtk3, using webkitgtk4 dep directly in sugar-0.110.0-3
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-27 14:21:29 +01:00
Adam Williamson
64ee9ee2d8 Bump to f26-backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-03-26 21:24:59 -07:00
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
Björn Esser
2b560ba567 Cinnamon: Install dnfdragora-gui instead of single packages 2017-03-24 00:11:53 +01: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
Colin Walters
954957e609 atomic: Append GROWPART to d-s-s config
Rather than truncating.  This allows us to preserve any existing
configuration (e.g. overlayfs by default).
2017-03-21 10:54:59 -04:00
Dan Book
d32c3f937d Cinnamon: add cinnamon-applet-blueberry 2017-03-15 14:05:52 -04: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
Dennis Gilmore
89abaa8c89 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 10:56:48 -06:00
Dennis Gilmore
660c0f24ef disable caching repo metadata
all workstation based spins are failing due to packagekit causing gpg-agent
spawning and keeping /dev/null open inside the compose environemnet.
36389 ?        Ss     0:00 gpg-agent --homedir /tmp/tmp.XJ49JiQYpU/var/cache/PackageKit/26/metadata/updates-testing.tmp/gpgdir --use-standard-socket --daemon
36417 ?        Ss     0:00 gpg-agent --homedir /tmp/tmp.XJ49JiQYpU/var/cache/PackageKit/26/metadata/updates.tmp/gpgdir --use-standard-socket --daemon
we end up with process like above running. this only hit us as the urls
pointed to stopped giving 404 errors

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-09 17:37:00 -06:00
Dennis Gilmore
fde4b9c548 Merge #158 fix graphical initial-setup on ARM images 2017-03-09 17:10:31 +00:00
Peter Robinson
3c3152b72d fix graphical initial-setup on ARM images
The old means of enabling the graphical service is obsolete so remove it.
It's now detected by explicitly enabling graphical.target so do this by default
for all graphical UXes
2017-03-09 17:05:40 +00:00
Christian Dersch
71e6eaebc7 lxqt: added storaged to fix #1429132 2017-03-06 21:57:17 +01:00
Kevin Fenzi
9c486b783a Merge #151 Python Classroom: Add optional packages from the group 2017-03-03 18:54:53 +00:00
Peter Robinson
2a681eaf90 remove arm and ppc cloud base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 17:50:36 +00:00
Peter Robinson
15a6627e09 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-03 17:48:29 +00: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
Peter Robinson
b5155455d3 remove arm and ppc docker base variants
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 15:50:38 +00:00
Peter Robinson
21e02e29c7 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-03 15:41:29 +00:00
Peter Robinson
2077c2935d Minor inline docs updates
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-03 15:24:05 +00:00
Peter Robinson
bea832564f 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-03 15:24:01 +00:00
Miro Hrončok
6a9e0cd677 Python Classroom: Add optional packages from the group 2017-03-03 16:20:09 +01:00
Luya Tshimbalanga
3ca49ecf2b design-suite: drop workaround packages 2017-02-24 10:27:38 -08:00
29 changed files with 371 additions and 89 deletions

View File

@@ -11,18 +11,18 @@ and modify the kickstart files for their local needs.
## To make a release ## ## To make a release ##
* git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts git clone ssh://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
* cd fedora-kickstarts cd fedora-kickstarts
* # If you need a specific branch other than master: # If you need a specific branch other than master:
* git checkout BRANCHNAME git checkout BRANCHNAME
* # No tag has been added yet tag HEAD with # No tag has been added yet tag HEAD with
* git tag VERSION git tag VERSION
* git push --tags git push --tags
* make make
* # Publish the released tar ball # Publish the released tar ball
* make publish make publish
* # Clean up the generated files: # Clean up the generated files:
* make clean make clean
# bug reports # # bug reports #

View File

@@ -1,8 +0,0 @@
## Lorax template to configure Anaconda to use the local OSTree
## repository on disk.
<%page args="ostree_osname, ostree_ref"/>
append usr/share/anaconda/interactive-defaults.ks "ostreesetup --nogpg --osname=${ostree_osname} --remote=${ostree_osname} --url=file:////run/install/repo/content/repo --ref=${ostree_ref}\n"
append usr/share/anaconda/interactive-defaults.ks "services --disabled cloud-init,cloud-config,cloud-final,cloud-init-local\n"
append usr/share/anaconda/interactive-defaults.ks "%post --erroronfail\nrm -f /etc/ostree/remotes.d/${ostree_osname}.conf\nostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/22/'\n%end\n"

View File

@@ -1,11 +0,0 @@
## Lorax template to embed an OSTree repository into the installer.iso
## and configure an interactive installer use to look for it.
##
## Note that we pull with depth=0 to only get *one* commit into the
## ISO, because we obviously don't want the full history.
<%page args="workdir, ostree_osname, ostree_repo, ostree_ref"/>
runcmd mkdir -p ${workdir}/iso-graft/content/repo
runcmd ostree --repo=${workdir}/iso-graft/content/repo init --mode=archive-z2
runcmd ostree --repo=${workdir}/iso-graft/content/repo remote add ostree-mirror --set=gpg-verify=false ${ostree_repo}
runcmd ostree --repo=${workdir}/iso-graft/content/repo pull --mirror ostree-mirror ${ostree_ref}

View File

@@ -3,7 +3,7 @@
part /boot --size=512 --fstype ext4 part /boot --size=512 --fstype ext4
part swap --size=256 --fstype swap part swap --size=256 --fstype swap
part / --size=1250 --fstype ext4 part / --size=1256 --fstype ext4
%packages %packages
-xkeyboard-config -xkeyboard-config

View File

@@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks %include fedora-arm-xbase.ks
%include fedora-xfce-common.ks %include fedora-xfce-common.ks
part / --size=4000 --fstype ext4 part / --size=4500 --fstype ext4
%post %post

View File

@@ -17,31 +17,45 @@ rootpw --lock --iscrypted locked
firewall --disabled firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0" # console=ttyAMA0 and console=hvc0 as kernel boot parameter to see
# kernel boot messages on serial console as well on aarch64 and
# ppc64le respectively.
# https://pagure.io/atomic-wg/issue/347
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 console=ttyAMA0 console=hvc0 net.ifnames=0"
network --bootproto=dhcp --device=link --activate --onboot=on network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr zerombr
clearpart --all clearpart --all
# Atomic differs from cloud - we want LVM # Implement: https://pagure.io/atomic-wg/issue/281
part /boot --size=300 --fstype="ext4" # The bare metal layout default is in http://pkgs.fedoraproject.org/cgit/rpms/fedora-productimg-atomic.git
# However, the disk size is currently just 6GB for the cloud image (defined in pungi-fedora). So the
# "15GB, rest unallocated" model doesn't make sense. The Vagrant box is 40GB (apparently a number of
# Vagrant boxes come big and rely on thin provisioning).
# In both cases, it's simplest to just fill all the disk space.
#
# Use reqpart to create hardware platform specific partitions
# https://pagure.io/atomic-wg/issue/299
reqpart --add-boot
part pv.01 --grow part pv.01 --grow
volgroup atomicos pv.01 volgroup atomicos pv.01
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos # Start from 3GB as we did before, since we just need a size. But we do --grow to fill all space.
logvol / --size=3000 --grow --fstype="xfs" --name=root --vgname=atomicos
# Equivalent of %include fedora-repo.ks # Equivalent of %include fedora-repo.ks
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/26/ --ref=fedora/26/x86_64/atomic-host # Pull from the ostree repo that was created during the compose
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/27/ --ref=fedora/27/${basearch}/atomic-host
reboot reboot
%post --erroronfail %post --erroronfail
# See https://github.com/projectatomic/rpm-ostree/issues/42 # See https://github.com/projectatomic/rpm-ostree/issues/42
# we only need this for before f26 release where we are using a # Set the ostree repo to the location we want users to upgrade from
# temporary "dev" repo url above. We want to change the remote # This location is where the compose gets synced to after the compose
# we use to match where the repo will live for the entirety of f26. # is done.
ostree remote delete fedora-atomic ostree remote delete fedora-atomic
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/26/' ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/27/'
# older versions of livecd-tools do not follow "rootpw --lock" line above # older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299 # https://bugzilla.redhat.com/show_bug.cgi?id=964299
@@ -51,8 +65,10 @@ passwd -l root
cp /etc/skel/.bash* /var/roothome cp /etc/skel/.bash* /var/roothome
# Configure docker-storage-setup to resize the partition table on boot # Configure docker-storage-setup to resize the partition table on boot
# https://github.com/projectatomic/docker-storage-setup/pull/25 # and extend the root filesystem to fill it.
# https://pagure.io/atomic-wg/issue/343
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
echo 'ROOT_SIZE=+100%FREE' >> /etc/sysconfig/docker-storage-setup
echo -n "Getty fixes" echo -n "Getty fixes"
# although we want console output going to the serial console, we don't # although we want console output going to the serial console, we don't

View File

@@ -13,12 +13,12 @@
# http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes. # http://worknotes.readthedocs.org/en/latest/cloudimages.html for some notes.
# #
# For a TDL file, I store one here: # For a TDL file, I store one here:
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl # https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
# (Koji generates one internally...what we really want is Koji to publish it statically) # (Koji generates one internally...what we really want is Koji to publish it statically)
# #
# Once you have imagefactory and imagefactory-plugins installed, run: # Once you have imagefactory and imagefactory-plugins installed, run:
# #
# curl -O https://git.fedorahosted.org/cgit/fedora-atomic.git/plain/fedora-atomic-rawhide.tdl # curl -O https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
# tempfile=$(mktemp --suffix=.ks) # tempfile=$(mktemp --suffix=.ks)
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile} # ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
# imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl # imagefactory --debug base_image --file-parameter install_script ${tempfile} fedora-atomic-rawhide.tdl

View File

@@ -19,7 +19,7 @@ network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked rootpw --lock --iscrypted locked
shutdown shutdown
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" bootloader --timeout=1
zerombr zerombr
clearpart --all --initlabel --disklabel=msdos clearpart --all --initlabel --disklabel=msdos

View File

@@ -14,11 +14,13 @@ sssd-client
%end %end
%post --erroronfail --log=/root/anaconda-post.log %post --erroronfail --log=/root/anaconda-post.log
# remove some extraneous files # remove some extraneous files
rm -rf /var/cache/dnf/* rm -rf /var/cache/dnf/*
rm -rf /tmp/* rm -rf /tmp/*
# https://pagure.io/atomic-wg/issue/308
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
#Mask mount units and getty service so that we don't get login prompt #Mask mount units and getty service so that we don't get login prompt
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
@@ -35,5 +37,6 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec
# #
umount /run umount /run
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
%end %end

View File

@@ -8,7 +8,7 @@
# but you can run imagefactory locally too. # but you can run imagefactory locally too.
# #
# To do so, testing local changes, first you'll need a TDL file. I store one here: # To do so, testing local changes, first you'll need a TDL file. I store one here:
# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl # https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
# #
# Then, once you have imagefactory and imagefactory-plugins installed, run: # Then, once you have imagefactory and imagefactory-plugins installed, run:
# #

View File

@@ -42,10 +42,6 @@ k3b # ~15 megs
fuse fuse
mediawriter mediawriter
# only include kdegames-minimal
-kdegames
kdegames-minimal
### space issues ### space issues
# fonts (we make no bones about admitting we're english-only) # fonts (we make no bones about admitting we're english-only)

View File

@@ -24,7 +24,13 @@ part / --size 14500
# Installing the default/mandatory packages from engineering & scientific # Installing the default/mandatory packages from engineering & scientific
@engineering-and-scientific @engineering-and-scientific
# Basic development
@development-tools
@c-development
# astronomical data analysis # astronomical data analysis
astrometry
astrometry-tycho2
cdsclient cdsclient
fpack fpack
gcx gcx
@@ -37,7 +43,7 @@ skyviewer
swarp swarp
wcstools wcstools
# Observatory: KStars + INDI drivers + Skychart # Observatory: KStars + INDI drivers
indi-aagcloudwatcher indi-aagcloudwatcher
indi-apogee indi-apogee
indi-eqmod indi-eqmod
@@ -45,10 +51,10 @@ indi-gphoto
indi-sx indi-sx
indistarter indistarter
kstars kstars
stellarium
# misc. astronomy # misc. astronomy
celestia celestia
stellarium
virtualplanet virtualplanet
# Some astro environment stuff # Some astro environment stuff

View File

@@ -174,7 +174,7 @@ if [ -n "\$configdone" ]; then
exit 0 exit 0
fi fi
# add fedora user with no passwd # add liveuser user with no passwd
action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser action "Adding live user" useradd \$USERADDARGS -c "Live System User" liveuser
passwd -d liveuser > /dev/null passwd -d liveuser > /dev/null
usermod -aG wheel liveuser > /dev/null usermod -aG wheel liveuser > /dev/null

View File

@@ -32,6 +32,9 @@ sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/li
# set Cinnamon as default session, otherwise login will fail # set Cinnamon as default session, otherwise login will fail
sed -i 's/^#user-session=.*/user-session=cinnamon/' /etc/lightdm/lightdm.conf sed -i 's/^#user-session=.*/user-session=cinnamon/' /etc/lightdm/lightdm.conf
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
# Show harddisk install on the desktop # Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop mkdir /home/liveuser/Desktop

View File

@@ -16,43 +16,26 @@ part / --size 14336
# Switch to groups for design suite # Switch to groups for design suite
@design-suite @design-suite
# Added addons to address rhbz#1336879 from dnf # Provides backup application
gimp-data-extras deja-dup
gimp-dbp deja-dup-nautilus
gimp-dds-plugin
gimp-elsamuko
gimp-fourier-plugin
gimp-gap
gimp-help
gimp-high-pass-filter
gimp-layer-via-copy-cut
gimp-lensfun
gimp-lqr-plugin
gimp-normalmap
gimp-paint-studio
gimp-resynthesizer
gimp-save-for-web
gimp-separate+
gimp-wavelet-denoise-plugin
gimpfx-foundry
gmic-gimp
inkscape-psd
inkscape-sozi
inkscape-table
sane-backends-drivers-scanners
xsane-gimp
#YafaRay-blender
# Add extra gnome applications # Add extra gnome applications
gnome-books gnome-books
gnome-calendar gnome-calendar
gnome-photos gnome-photos
gnome-shell-extension-pomodoro
gnome-todo
# Add cosmetic for gnome-terminal
powerline
powerline-fonts
# Extra wallpapers # Extra wallpapers
f26-backgrounds-extras-base f26-backgrounds-extras-base
f26-backgrounds-extras-gnome f26-backgrounds-extras-gnome
# removal of unneeded applications # removal of unneeded applications
-gnome-boxes -gnome-boxes
-eog -eog
@@ -64,7 +47,7 @@ f26-backgrounds-extras-gnome
#Override the favorite desktop application in Dash #Override the favorite desktop application in Dash
cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
[org.gnome.shell] [org.gnome.shell]
favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop'] favorite-apps=['firefox.desktop', 'shotwell.desktop', 'gimp.desktop', 'darktable.desktop','krita.desktop', 'inkscape.desktop', 'blender.desktop', 'libreoffice-writer.desktop', 'scribus.desktop', 'nautilus.desktop', 'bijiben.desktop', 'anaconda.desktop', 'list-design-tutorials.desktop']
FOE FOE
# Add link to lists of tutorials # Add link to lists of tutorials

View File

@@ -189,7 +189,6 @@ games-menus
# No compilations of games as I want to only include games that at least # No compilations of games as I want to only include games that at least
# someone thought were good within a genre. # someone thought were good within a genre.
-kdegames
# Nothing should be downloading data to play. # Nothing should be downloading data to play.
-autodownloader -autodownloader

View File

@@ -40,6 +40,9 @@ if [ -f /etc/PackageKit/CommandNotFound.conf ]; then
sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf sed -i -e 's/^SoftwareSourceSearch=true/SoftwareSourceSearch=false/' /etc/PackageKit/CommandNotFound.conf
fi fi
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
# make sure to set the right permissions and selinux contexts # make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/ chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/ restorecon -R /home/liveuser/

View File

@@ -113,6 +113,7 @@ valgrind-openmpi
libgomp libgomp
python-pp python-pp
mpi4py-openmpi mpi4py-openmpi
python3-mpi4py-openmpi
#Version control- a GUI for each as well #Version control- a GUI for each as well

View File

@@ -37,7 +37,7 @@ gnome-keyring-pam
-gimp-help -gimp-help
-desktop-backgrounds-basic -desktop-backgrounds-basic
-realmd # only seems to be used in GNOME -realmd # only seems to be used in GNOME
-PackageKit* # we switched to yumex, so we don't need this -PackageKit* # we switched to dnfdragora, so we don't need this
-aspell-* # dictionaries are big -aspell-* # dictionaries are big
-gnumeric -gnumeric
-foomatic-db-ppds -foomatic-db-ppds

View File

@@ -43,7 +43,7 @@ metacity
-acpid -acpid
-gimp-help -gimp-help
-desktop-backgrounds-basic -desktop-backgrounds-basic
-PackageKit* # we switched to yumex, so we don't need this -PackageKit* # we switched to dnfdragora, so we don't need this
-foomatic-db-ppds -foomatic-db-ppds
-foomatic -foomatic
-stix-fonts -stix-fonts

View File

@@ -1,5 +1,5 @@
%packages %packages
-PackageKit* # we switched to yumex, so we don't need this -PackageKit* # we switched to dnfdragora, so we don't need this
firefox firefox
@mate @mate
compiz compiz

View File

@@ -0,0 +1,27 @@
%include fedora-arm-base.ks
# server defaults to xfs for / so lets do so on arm also
part / --size=2500 --fstype xfs
%packages
# install the default groups for the server evironment since installing the environment is not working
@server-product
@standard
@headless-management
@container-management
@domain-client
-initial-setup-gui
-generic-release*
fedora-modular-release
%end
%post
# setup systemd to boot to the right runlevel
echo -n "Setting default runlevel to multiuser text mode"
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
echo .
%end

View File

@@ -0,0 +1,70 @@
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
# This base is a stripped back Fedora image without python3/dnf.
# If you need that use the standard base image.
%include fedora-modular-container-common.ks
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
microdnf
%end
%post --erroronfail --log=/root/anaconda-post.log
# remove some random help txt files
rm -fv usr/share/gnupg/help*.txt
# Pruning random things
rm usr/lib/rpm/rpm.daily
rm -rfv usr/lib64/nss/unsupported-tools/ # unsupported
# Statically linked crap
rm -fv usr/sbin/{glibc_post_upgrade.x86_64,sln}
ln usr/bin/ln usr/sbin/sln
# Remove some dnf info
rm -rfv /var/lib/dnf
# don't need icons
rm -rfv /usr/share/icons/*
#some random not-that-useful binaries
rm -fv /usr/bin/pinky
# we lose presets by removing /usr/lib/systemd but we do not care
rm -rfv /usr/lib/systemd
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
rm -fv /etc/localtime
mv /usr/share/zoneinfo/UTC /etc/localtime
rm -rfv /usr/share/zoneinfo
# Final pruning
rm -rfv /var/cache/* /var/log/* /tmp/*
%end
%post --nochroot --erroronfail --log=/mnt/sysimage/root/anaconda-post-nochroot.log
set -eux
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
# Fix /run/lock breakage since it's not tmpfs in container
# This unmounts /run (tmpfs) and then recreates the files
# in the /run directory on the root filesystem of the container
# NOTE: run this in nochroot because "umount" does not exist in chroot
umount /mnt/sysimage/run
# The file that specifies the /run/lock tmpfile is
# /usr/lib/tmpfiles.d/legacy.conf, which is part of the systemd
# rpm that isn't included in this image. We'll create the /run/lock
# file here manually with the settings from legacy.conf
# NOTE: chroot to run "install" because it is not in anaconda env
chroot /mnt/sysimage install -d /run/lock -m 0755 -o root -g root
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816
# NOTE: run this in nochroot because "find" does not exist in chroot
KEEPLANG=en_US
for dir in locale i18n; do
find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \( -name "${KEEPLANG}" -o -name POSIX \) -exec rm -rfv {} +
done
%end

View File

@@ -0,0 +1,38 @@
# See fedora-modular-container-common.ks for details on how to hack on container image kickstarts
# This base is a standard Fedora image with python3 and dnf
%include fedora-modular-container-common.ks
%packages --excludedocs --instLangs=en --nocore
rootfiles
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
vim-minimal
dnf
dnf-yum # https://pagure.io/fesco/ticket/1312#comment:29
sssd-client
%end
%post --erroronfail --log=/root/anaconda-post.log
# remove some extraneous files
rm -rf /var/cache/dnf/*
rm -rf /tmp/*
#Mask mount units and getty service so that we don't get login prompt
systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connections.mount systemd-logind.service getty.target console-getty.service
# https://bugzilla.redhat.com/show_bug.cgi?id=1343138
# Fix /run/lock breakage since it's not tmpfs in container
# This unmounts /run (tmpfs) and then recreates the files
# in the /run directory on the root filesystem of the container
#
# We ignore the return code of the systemd-tmpfiles command because
# at this point we have already removed the /etc/machine-id 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
#
umount /run
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
%end

View File

@@ -0,0 +1,75 @@
# This is the common bits between Container base images based on Modular Fedora.
#
# To keep this image minimal it only installs English language. You need to change
# dnf configuration in order to enable other languages.
#
# ## Hacking on this image ###
# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically),
# but you can run imagefactory locally too.
#
# To do so, testing local changes, first you'll need a TDL file. I store one here:
# https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
#
# Then, once you have imagefactory and imagefactory-plugins installed, run:
#
# ksflatten -c fedora-modular-base[-minimal].ks -o fedora-modular-base-test.ks
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-modular-base-test.ks modular
#
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
bootloader --disabled
timezone --isUtc --nontp Etc/UTC
rootpw --lock --iscrypted locked
keyboard us
network --bootproto=dhcp --device=link --activate --onboot=on
reboot
# boot partitions are irrelevant as the final container image is a tarball
zerombr
clearpart --all
autopart --noboot --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-modular-release
bash
coreutils-single
glibc-minimal-langpack
libcrypt
rpm
shadow-utils
sssd-client
util-linux
-kernel
-dosfstools
-e2fsprogs
-fuse-libs
-gnupg2-smime
-libss # used by e2fsprogs
-libusbx
-pinentry
-shared-mime-info
-trousers
-xkeyboard-config
%end
%post --erroronfail --log=/root/anaconda-post.log
set -eux
# Set install langs macro so that new rpms that get installed will
# only install langs that we limit it to.
LANG="en_US"
echo "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1400682
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "# fstab intentionally empty for containers" > /etc/fstab
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@@ -0,0 +1,81 @@
text
lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --passalgo=sha512
selinux --enforcing
# Disabled for modular compose (for now)
#firewall --enabled --service=mdns
# Disabled for modular compose (for now)
#services --enabled=sshd,NetworkManager,chronyd,initial-setup
network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked
shutdown
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
zerombr
clearpart --all --initlabel --disklabel=msdos
autopart --type=plain
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
%include fedora-repo.ks
%packages --excludedocs --excludeWeakdeps --nocore
bash
fedora-modular-release
filesystem
coreutils-single
util-linux
rpm
shadow-utils
microdnf
glibc-minimal-langpack
grubby
kernel
libcrypt
sssd-client
dhcp-client
-fedora-logos
-coreutils
-dosfstools
-e2fsprogs
-fuse-libs
-gnupg2-smime
-libss # used by e2fsprogs
-libusbx
-pinentry
-shared-mime-info
-trousers
-xkeyboard-config
-dracut
%end
%post
# Setup Raspberry Pi firmware
#cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
mv -f /boot/efi/config-64.txt /boot/efi/config.txt
cp -P /usr/share/uboot/rpi_3/u-boot.bin /boot/efi/rpi3-u-boot.bin
releasever=$(rpm -q --qf '%{version}\n' fedora-modular-release)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "Packages within this disk image"
rpm -qa
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
# remove random seed, the newly installed instance should make it's own
rm -f /var/lib/systemd/random-seed
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@@ -56,6 +56,7 @@ python3-pillow-tk
# Dictionaries are big # Dictionaries are big
-aspell-* -aspell-*
-hunspell-*
-words -words
# Help and art can be big, too # Help and art can be big, too

View File

@@ -31,7 +31,6 @@ firewall --enabled --service=mdns,presence
-ibus* -ibus*
-hyperv-daemons -hyperv-daemons
-webkitgtk4-plugin-process-gtk2 -webkitgtk4-plugin-process-gtk2
webkitgtk3
# Add some extra fonts # Add some extra fonts
dejavu-sans-fonts dejavu-sans-fonts

View File

@@ -38,7 +38,7 @@ system-config-printer
-acpid -acpid
-gimp-help -gimp-help
-desktop-backgrounds-basic -desktop-backgrounds-basic
-PackageKit* # we switched to yumex, so we don't need this -PackageKit* # we switched to dnfdragora, so we don't need this
-aspell-* # dictionaries are big -aspell-* # dictionaries are big
-xfce4-sensors-plugin -xfce4-sensors-plugin