Compare commits

...

81 Commits

Author SHA1 Message Date
Miro Hrončok
5ee03735d6 Remove Ninja IDE from Python Classroom Lab
It drags Python 2, is orphaned, FTBFS.
2019-05-17 01:14:13 +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
Clement Verna
d1d9de9a97 Add sudo to the fedora container base image.
sudo is needed in the base image for it to be used in Azure services

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-05 14:16:11 +02:00
Miro Hrončok
fa5c8ccf35 Add more space for the Python Classroom lab
See https://bugzilla.redhat.com/show_bug.cgi?id=1695796
2019-04-09 20:18:44 +02: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
Peter Robinson
24b73a6270 Merge #507 Scientific: Remove python2 packages 2019-03-29 02:14:35 +00:00
Miro Hrončok
174b5721ec Stop dragging Python 3.6 and 3.8 to Python Classroom 2019-03-27 00:23:39 +01:00
Amit Saha
ab1363a4bc Scientific: Remove python2 packages 2019-03-22 07:27:49 +11:00
raveit65
f84b197d1e MATE-arm: increase part size 2019-03-21 09:52:53 +01:00
Adam Williamson
2611d60fd0 Explicitly pull chkconfig into live images
As livesys and livesys-late are still SysV services, they need
systemd-sysv-install to work, which is part of chkconfig. Until
now chkconfig was getting pulled into live images via packages
that require update-alternatives, which was previously part of
chkconfig - but it just got split into its own package, so now
those packages don't pull in chkconfig any more.

This broke the KDE live image and probably several others in
recent Rawhide, livesys and livesys-late don't run so there's
no 'liveuser' and root isn't accessible. Workstation didn't
break because a java package still pulls chkconfig into it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-03-20 08:46:09 -07:00
Paul Whalen
200f6930a6 Add epiphany browser to arm disk images. 2019-03-19 13:16:01 -04:00
Stephen Gallagher
ab7ee6e6db Sync Fedora Server with comps
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-03-04 21:06:25 +00:00
Dan Book
6527f89bde switch to f30 background extras 2019-03-04 13:05:45 -05:00
Zbigniew Jędrzejewski-Szmek
86e0dc18cf Use dnf instead of yum
I left the instructions for yum-langpacks around, because I'm not sure
how the dnf replacement looks. But all references to yum-the-executable
are gone.

https://fedoraproject.org/wiki/Changes/Retire_YUM_3
https://bugzilla.redhat.com/show_bug.cgi?id=1682910
2019-02-26 11:38:44 +01:00
Kevin Fenzi
d64a181fa3 l10n: Correct Xfce include for l10n files. Bug 1669894
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-23 16:26:37 -08:00
Zamir SUN
e4a7785b92 Change lxqt-l10n to group.
Now lxqt-l10n package is obsoleted. And we are adding a @lxqt-l10n to compos. So adjusting kickstart files accordingly.

Signed-off-by: Zamir SUN <sztsian@gmail.com>
2019-02-18 15:24:44 +00:00
Sinny Kumari
de5bf88e41 Remove Atomic Host kickstarts F30 and onward in the favor of FCOS
Related: https://github.com/coreos/fedora-coreos-tracker/issues/145

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2019-02-17 22:33:29 +05:30
Darryl T. Agostinelli
9ece69fc88 removed xmoto, warmux and freedroidrpg for size
removed xmoto, warmux and freedroidrpg for size
2019-02-16 04:35:21 +00:00
Parag Nemade
583a071ab4 l10n: Replace language specific support groups with langpacks packages.
This is part of https://fedoraproject.org/wiki/Changes/Replace_Comps_Language_Group_With_Langpacks#Scope

Signed-off-by: Parag Nemade <pnemade@fedoraproject.org>
2019-02-15 04:18:58 +00:00
Darryl T. Agostinelli
e1a3a12979 Update fedora-live-games.ks
removing glob2 because it's currently not building
2019-02-15 00:54:40 +00:00
Darryl T. Agostinelli
2b10501ec7 added bsd-games compilation 2019-02-13 02:18:57 +00:00
Darryl T. Agostinelli
4bddf5d41f Corrected email 2019-02-12 00:00:10 +00:00
Darryl T. Agostinelli
5ffd286f8f Update fedora-live-games.ks
updated maintainer entry
2019-02-11 23:51:53 +00:00
Darryl T. Agostinelli
712cfa9bc3 Update fedora-live-games.ks
removed rogue because it is abandoned now broken
2019-02-11 21:51:01 +00:00
Peter Robinson
d20393c1fa IoT: fix content URL harder 2019-02-07 13:43:54 +00:00
Peter Robinson
2446044d2a IoT: add contenturl for mirrors 2019-02-07 10:13:43 +00:00
Sinny Kumari
eae92c2d7b Update ostree repo url from atomic/repo/ to ostree/repo
Also Update ostree remote url and set metalink=mirrorlist
Related - https://pagure.io/fedora-infrastructure/issue/7487

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2019-02-07 11:59:53 +05:30
Clement Verna
363a8c6845 Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-06 21:10:45 +00:00
Martin Kolman
e168b190c6 Install the anaconda-live package on the live image
Recently all Anaconda files required only for the live installation
(the liveinst script, the desktop file and others) have been split into a sub-package
called anaconda-live.

This was done to prevent these files from littering both network
installation images as well as user systems when Anaconda gets pulled
in as a dependency during a package installation transaction.

At the moment anaconda-live is stilled pulled in as a direct dependency
of the anaconda-gui sub package, but once this commit has been merged
into the Fedora kickstart repository, we can drop this temporary
dependency, removing the package from non-live installations.
2019-02-06 21:09:28 +00:00
Peter Robinson
ffd90dbee1 IoT: Fixes and updates for IoT 2019-02-05 18:06:35 +00:00
Paul Whalen
8e10ac1ee6 Remove iproute-tc exclusion from fedora-arm-base 2019-01-30 13:50:38 -05:00
Paul Whalen
7e83e43671 Extend arm lxqt disk image. 2019-01-25 13:09:48 -05:00
Paul Whalen
7deaaf0862 Extend arm mate disk image. 2019-01-25 13:04:38 -05:00
Paul Whalen
d43129d5e8 Remove duplicate partitioning on arm base, minimal. 2019-01-25 12:46:43 -05:00
Paul Whalen
702db8a89e Extend arm minimal image to fix initramfs. 2019-01-16 10:53:44 -05:00
Clement Verna
c28b7e2777 Use the fedora-release-container package in container images
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-07 19:00:55 +00:00
Clement Verna
413af72641 Rename the container ks files
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-03 15:53:35 +01:00
Clement Verna
207d900831 Update the ks files with the new name
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-03 15:52:05 +01:00
Kevin Fenzi
1ed58c1a92 increase size of arm minimal
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-22 10:51:06 -08:00
Kevin Fenzi
93db50a9c0 Merge #466 Mate: increase disk_img size to fix f30 build issues 2018-12-03 15:01:53 +00:00
Kevin Fenzi
01216600d9 Merge #461 Remove unsed modular container kickstarts files 2018-12-03 15:00:53 +00:00
Peter Robinson
b7cd1e7927 IoT: work around stray console= appearing for some architectures
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-30 17:34:03 +00:00
raveit65
bc4dc356c2 Mate: increase disk_img size to fix f30 build issues 2018-11-25 12:06:45 +01:00
Mohan Boddu
6daf57bc58 Merge #465 Increase size of partition for building cinnamon-live 2018-11-13 16:45:06 +00:00
Dan Book
568e73aa6e Increase size of partition for building cinnamon-live 2018-11-13 16:28:30 +00:00
Clement Verna
8a76491f3f Use coreutils instead of coreutils-single in containers.
Fixes https://github.com/fedora-cloud/docker-brew-fedora/issues/58

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-11-02 19:33:19 +01:00
Clement Verna
a3ca173ddd Remove unsed modular container kickstarts files
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-11-02 19:29:32 +01:00
Peter Robinson
ee84a1650b drop console options for IoT
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-02 16:20:58 +00:00
Adam Williamson
0ed1396cb9 Add initscripts to fedora-live-base.ks
It was removed from the @core group in fedora-comps d7faeb5,
but we are still using stone-age sysv-style scripts for the
early boot live image setup stuff (livesys and livesys-late),
so we need it installed in live images. Without this, lives are
utterly broken, because livesys fails almost immediately and
does not do any of the expected live customizations.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-01 12:49:54 -07:00
Frederick Grose
70c3d795e8 fedora-live-base,fedora-soas: livecd-iso-to-disk in .iso filesystem.
For livemedia-creator builds, inject install code into the lorax
template live/x86.tmpl that copies the script livecd-iso-to-disk
into the .iso filesystem at /LiveOS when livecd-tools is present in
the install image. This fixes commit 18d30b3, which failed in this.
2018-10-31 22:14:54 -04:00
Miro Hrončok
7045d91878 Stop using fedora-live-minimization from Python Classroom
From Adam Williamson:

The Python Classroom spin images no longer build in recent Rawhide,
because of a dnf behaviour change that exposes dependency issues as
failures rather than hiding them by silently excluding packages. (This
change will likely get into F29 soon too).

The issue is this. fedora-live-python-classroom.ks includes
fedora-live-minimization.ks , which does this:

-sane-backends

but it also includes fedora-live-workstation.ks, which includes fedora-
workstation-common.ks, which does this:

@gnome-desktop

...and @gnome-desktop includes sane-backends-drivers-scanners and
libsane-hpaio, which both require sane-backends.

Until recently dnf was simply silently excluding sane-backends-drivers-
scanners and libsane-hpaio from the image, to 'resolve' this. Now it
fails on the problem, and we get to make a choice.

You basically have three options:

1. Just drop fedora-live-minimization.ks from fedora-live-python-
classroom.ks . It's pretty old and random at this point. It's basically
trying to drop printing and scanning stuff to save a bit of space. Do
you actually want printing and scanning not to work on your image?

2. Keep fedora-live-minimization.ks but explicitly add back `sane-
backends` to %packages in fedora-live-python-classroom.ks . This would
override the exclusion and fix the dep issue, and include the scanning
bits in the image.

3. Keep fedora-live-minimization.ks and add excludes for sane-backends-
drivers-scanners and libsane-hpaio to fedora-live-python-classroom.ks .
This would lose scanning support, and save a bit of space.

I went with option 1.
2018-10-31 07:17:06 +01:00
Mohan Boddu
164e3adb21 Merge #449 Design Suite: temporarily remove conflicting applications 2018-10-29 19:13:16 +00:00
Clement Verna
a18bfda6ea Containers do not need grubby.
Make sure that we do not install grubby on the
container base image.
https://pagure.io/releng/issue/7872

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-10-28 19:20:54 +01:00
Luya Tshimbalanga
b59f41dc4c Design Suite: temporarily remove conflicting applications 2018-10-24 00:01:08 -07:00
Peter Robinson
9e79a58361 Fix default partitioning on IoT images post SBSA fix in blivet
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-10-11 17:52:26 +01:00
Amit Saha
4665f812c6 Update fedora-scientific-common.ks 2018-09-26 23:38:45 +00:00
Amit Saha
eabc578ca1 Update fedora-scientific-common.ks: Workaround for https://pagure.io/releng/issue/7814
Workaround for https://pagure.io/releng/issue/7814
2018-09-26 23:36:42 +00:00
Zamir SUN
c59f2a3233 LXQt: Temporary include to workaround RHBZ 1621317
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-09-26 21:15:16 +08:00
Kevin Fenzi
55e52ee39c Merge #439 Drop fedora-live-minimization use from cinnamon 2018-09-26 00:14:26 +00:00
Kevin Fenzi
e87ad5e42e Merge #437 Update fedora-minimization.ks 2018-09-26 00:13:25 +00:00
Adam Williamson
394a2e80f2 Drop fedora-live-minimization use from cinnamon
live-minimization is kinda old, and dates from the time we were
trying to fit in CD size. No-one cares much about that any more.
One of these exclusions (sane-backends) was contradictory for
Cinnamon lives and broke the compose since the recent dnf change
to fail compose on dependency issues (because the cinnamon comps
group explicitly includes sane-backends-drivers-scanners, but
this exclusion excludes one of its deps). To resolve that,
@grinnz is fine with just dropping the use of live-minimization
from the cinnamon images entirely, so this does that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 17:01:07 -07:00
Adam Williamson
3c08a7fbe4 Update fedora-minimization.ks
All these packages used to be explicitly default or mandatory
in comps groups that were on live images, but no longer are.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 16:58:09 -07:00
Adam Williamson
f8a8f37aa5 MATE: drop colord exclusion (required by foomatic)
foomatic requires colord. Before dnf-3.5.1-2.fc30, this meant
foomatic was being silently excluded from MATE images. Now it
means they fail to compose. Let's drop the exclusion so the
images compose again. If the MATE maintainers want to reduce
size, they will have to explicitly exclude foomatic (and be OK
with doing so, as it probably breaks printing).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-09-25 16:34:39 -07: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
Mohan Boddu
7e826a7508 Merge #430 This seems to now cause dep problems as it's required in the chain 2018-09-22 18:04:57 +00:00
Kevin Fenzi
1ff983170c Merge #429 Add ja-JP.ks to games.iso 2018-09-22 17:44:11 +00:00
Kevin Fenzi
18d30b363c Merge #426 fedora-soas: Include livecd-iso-to-disk in .iso filesystem. 2018-09-22 17:43:17 +00:00
Kevin Fenzi
36fa64da0a This seems to now cause dep problems as it's required in the chain
of foomatic -> foomatic-db -> foomatic-db-ppds
2018-09-22 10:39:44 -07:00
dahura35
c5a51f6ecd fixed fedora-livedvd-games-ja_JP.ks 2018-09-20 15:32:35 +09:00
Luya Tshimbalanga
76a92fe25c Design Suite: use F28 supplemental wallpapers 2018-09-14 23:18:49 -07:00
Frederick Grose
aebb5de8e9 fedora-soas: Include livecd-iso-to-disk in .iso filesystem.
Inject install code in lorax template live/x86.tmpl for livemedia-
  creator builds.
Also, remove wrong path for dracut;
give glib-compile-schemas the schemas directory;
update maintainers.
2018-09-13 21:52:12 -04:00
Zamir SUN
21dbbb93f3 LXQt: Add default editor
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-09-09 22:21:37 +08:00
Dan Book
1f35ec1248 Cinnamon - update background extras to f29 2018-09-02 14:47:51 -04:00
Frederick Grose
8cfe4eb1aa livesys: continue instead of return in cmdline do loops.
return is an improper exit command for do loops.
From dracut.cmdline(7):
"The last value in the kernel command line is the value .. honored."
2018-08-31 19:47:01 -04: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
13817ab8f2 drop swap from minimal image, it was missed in the zram PR
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-23 10:52:01 +01:00
Dan Book
e8775547eb Cinnamon - add parole media player 2018-08-21 14:04:28 -04:00
Amit Saha
113d6b1128 Update fedora-scientific-common.ks
Comment julia till package build is fixed
2018-08-16 07:01:47 +00:00
Mohan Boddu
90d8dbec76 Rawhide being F30
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2018-08-13 13:39:07 -04:00
77 changed files with 197 additions and 533 deletions

View File

@@ -6,9 +6,8 @@ firewall --enabled --service=mdns,ssh
bootloader --location=mbr
part /boot/fw --size=30 --fstype vfat --asprimary
part /boot/efi --size=80 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary
part / --size=2800 --fstype ext4 --asprimary
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
@@ -39,22 +38,18 @@ initial-setup-gui
-iwl*
-ipw*
-usb_modeswitch
-iproute-tc
#lets resize / on first boot
# dracut-modules-growroot
# make sure all the locales are available for inital0-setup and anaconda to work
glibc-all-langpacks
%end
%post
# Setup Raspberry Pi firmware
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
sed -i '/vfat/ d' /etc/fstab
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/efi/rpi2-u-boot.bin
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/efi/rpi3-u-boot.bin
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
@@ -76,13 +71,8 @@ systemctl mask tmp.mount
dnf -y remove dracut-config-generic
# 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

@@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-lxqt-common.ks
part / --size=4200 --fstype ext4 --asprimary
part / --size=4400 --fstype ext4 --asprimary
%packages
# trojita not available on non-x86 platforms

View File

@@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-mate-common.ks
part / --size=6000 --fstype ext4
part / --size=7168 --fstype ext4
%post

View File

@@ -1,9 +1,7 @@
%include fedora-arm-base.ks
%include fedora-minimal-common.ks
part /boot --size=512 --fstype ext4
part swap --size=256 --fstype swap
part / --size=1256 --fstype ext4
part / --size=1400 --fstype ext4
%packages
-xkeyboard-config

View File

@@ -4,6 +4,7 @@
@input-methods
@multimedia
@printing
epiphany
%end
%post

View File

@@ -1,37 +0,0 @@
# Like the Atomic Host cloud image, but tuned for vagrant: enable the
# vagrant user, disable cloud-init.
%include fedora-atomic.ks
user --name=vagrant --password=vagrant
rootpw vagrant
# The addition of the net.ifnames=0 and biosdevnames=0 option ensures that
# even on VirtualBox virt, we get a primary network device with "eth0" as the name
# This simplifies things and allows a single disk image for both supported Vagrant
# platforms (virtualbox and kvm)
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
%post --erroronfail
# Work around cloud-init being both disabled and enabled; need
# to refactor to a common base.
systemctl mask cloud-init cloud-init-local cloud-config cloud-final
# The inherited cloud %post locks the passwd, but we want it
# unlocked for vagrant, just like downstream.
passwd -u root
# Vagrant setup
sed -i 's,Defaults\\s*requiretty,Defaults !requiretty,' /etc/sudoers
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant-nopasswd
sed -i 's/.*UseDNS.*/UseDNS no/' /etc/ssh/sshd_config
mkdir -m 0700 -p ~vagrant/.ssh
cat > ~vagrant/.ssh/authorized_keys << EOKEYS
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key
EOKEYS
chmod 600 ~vagrant/.ssh/authorized_keys
chown -R vagrant:vagrant ~vagrant/.ssh/
%end

View File

@@ -1,157 +0,0 @@
# Fedora Atomic Host is the Fedora version of the "Atomic Host" pattern
# from [Project Atomic](http://www.projectatomic.io/).
# This kickstart is used for cloud/virt images, and uses cloud-init
# to bootstrap authentication, just like Fedora Cloud Base. (Also note the
# fedora-atomic-vagrant.ks kickstart inherits from this).
# One very important thing to understand is that this image contains the same
# OSTree commit as will be used on bare metal installations - Fedora Atomic Host
# also has an ISO. One difference though is that cloud-init isn't enabled for
# bare metal. When processing this kickstart then, Anaconda isn't actually
# installing packages - it's just replicating a "pre-assembled" tree from
# rpm-ostree.
# Basically, the `ostreesetup` verb replaces the traditional `%packages`
# section. For example, `rpm-ostree status` can show you the same checksum and
# version from an ISO install and this cloud image - it's the same bits.
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
lang en_US.UTF-8
keyboard us
timezone --utc Etc/UTC
auth --useshadow --passalgo=sha512
selinux --enforcing
rootpw --lock --iscrypted locked
# Explicitly disable firewall since cloud providers generally provide
# higher level firewall constructs (i.e. security groups).
firewall --disabled
# 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
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
# Implement: https://pagure.io/atomic-wg/issue/281
# The bare metal layout currently inherits from fedora server and is in
# https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/installclasses/fedora_atomic_host.py
# 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
volgroup atomicos pv.01
# 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
# 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/repo/ --ref=fedora/rawhide/${basearch}/atomic-host
reboot
%post --erroronfail
# See https://github.com/projectatomic/rpm-ostree/issues/42
# Set the ostree repo to the location we want users to upgrade from
# This location is where the compose gets synced to after the compose
# is done.
ostree remote delete fedora-atomic
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/repo/'
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1193590
cp /etc/skel/.bash* /var/roothome
# Configure docker-storage-setup to resize the partition table on boot
# and extend the root filesystem to fill it.
# https://pagure.io/atomic-wg/issue/343
echo 'GROWPART=true' >> /etc/sysconfig/docker-storage-setup
echo 'ROOT_SIZE=+100%FREE' >> /etc/sysconfig/docker-storage-setup
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.
# we don't really need to auto-spawn _any_ gettys.
sed -i '/^#NAutoVTs=.*/ a\
NAutoVTs=0' /etc/systemd/logind.conf
echo -n "Network fixes"
# initscripts don't like this file to be missing.
cat > /etc/sysconfig/network << EOF
NETWORKING=yes
NOZEROCONF=yes
EOF
# Remove any persistent NIC rules generated by udev
rm -vf /etc/udev/rules.d/*persistent-net*.rules
# And ensure that we will do DHCP on eth0 on startup
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes"
EOF
# Because memory is scarce resource in most cloud/virt environments,
# and because this impedes forensics, we are differing from the Fedora
# default of having /tmp on tmpfs.
echo "Disabling tmpfs for /tmp."
systemctl mask tmp.mount
# Uncomment this if you want to use cloud init but suppress the creation
# of an "ec2-user" account. This will, in the absence of further config,
# cause the ssh key from a metadata source to be put in the root account.
#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
#users: []
#disable_root: 0
#EOF
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/systemd/random-seed
echo "Packages within this cloud image:"
echo "-----------------------------------------------------------------------"
rpm -qa
echo "-----------------------------------------------------------------------"
# Note that running rpm recreates the rpm db files which aren't needed/wanted
rm -f /var/lib/rpm/__db*
echo "Zeroing out empty space."
# This forces the filesystem to reclaim space from deleted files
dd bs=1M if=/dev/zero of=/var/tmp/zeros || :
rm -f /var/tmp/zeros
echo "(Don't worry -- that out-of-space error was expected.)"
# For trac ticket https://pagure.io/atomic-wg/issue/128
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
echo "Adding Developer Mode GRUB2 menu item."
/usr/libexec/atomic-devmode/bootentry add
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# 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
truncate -s 0 /etc/resolv.conf
%end

View File

@@ -11,8 +11,9 @@
@networkmanager-submodules
@cinnamon-desktop
@libreoffice
parole
# extra backgrounds
f28-backgrounds-extras-gnome
f30-backgrounds-extras-gnome
%end

View File

@@ -137,7 +137,7 @@ echo "Removing firewalld."
# not work when package was installed by Anaconda instead of command line.
# Also -- check if this is still even needed with new anaconda -- disabled
# firewall should _not_ pull in this package.
# yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
# dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
dnf -C -y erase "firewalld*"
# Another one needed at install time but not after that, and it pulls

View File

@@ -112,12 +112,12 @@ rpm -e linux-firmware
# Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building.
echo "Removing firewalld."
yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
dnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
# Another one needed at install time but not after that, and it pulls
# in some unneeded deps (like, newt and slang)
echo "Removing authconfig."
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
@@ -176,10 +176,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/systemd/random-seed
echo "Cleaning old yum repodata."
yum history new
yum clean all
truncate -c -s 0 /var/log/yum.log
echo "Cleaning old dnf repodata."
dnf history new
dnf clean all
truncate -c -s 0 /var/log/dnf.log
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
@@ -204,7 +204,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
echo "Fixing SELinux contexts."
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
mkdir -p /var/cache/dnf
/usr/sbin/fixfiles -R -a restore
echo "Zeroing out empty space."

View File

@@ -103,12 +103,12 @@ rpm -e linux-firmware
# Remove firewalld; was supposed to be optional in F18+, but is required to
# be present for install/image building.
echo "Removing firewalld."
yum -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
dnf -C -y remove "firewalld*" --setopt="clean_requirements_on_remove=1"
# Another one needed at install time but not after that, and it pulls
# in some unneeded deps (like, newt and slang)
echo "Removing authconfig."
yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
dnf -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
@@ -167,10 +167,10 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/systemd/random-seed
echo "Cleaning old yum repodata."
yum history new
yum clean all
truncate -c -s 0 /var/log/yum.log
echo "Cleaning old dnf repodata."
dnf history new
dnf clean all
truncate -c -s 0 /var/log/dnf.log
echo "Import RPM GPG key"
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
@@ -196,7 +196,7 @@ dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
echo "Fixing SELinux contexts."
touch /var/log/cron
touch /var/log/boot.log
mkdir -p /var/cache/yum
mkdir -p /var/cache/dnf
chattr -i /boot/extlinux/ldlinux.sys
/usr/sbin/fixfiles -R -a restore
chattr +i /boot/extlinux/ldlinux.sys

View File

@@ -1,8 +1,8 @@
# See docker-base-common.ks for details on how to hack on docker image kickstarts
# See fedora-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-docker-common.ks
%include fedora-container-common.ks
%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
microdnf

View File

@@ -1,7 +1,7 @@
# See docker-base-common.ks for details on how to hack on docker image kickstarts
# See fedora-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-docker-common.ks
%include fedora-container-common.ks
%packages --excludedocs --instLangs=en --nocore
rootfiles
@@ -12,7 +12,7 @@ vim-minimal
dnf
dnf-yum # https://fedorahosted.org/fesco/ticket/1312#comment:29
sssd-client
sudo
%end
%post --erroronfail --log=/root/anaconda-post.log

View File

@@ -1,4 +1,4 @@
# This is the common bits between Fedora Docker base image.
# This is the common bits between Fedora Container base image.
#
# To keep this image minimal it only installs English language. You need to change
# dnf configuration in order to enable other languages.
@@ -12,8 +12,8 @@
#
# Then, once you have imagefactory and imagefactory-plugins installed, run:
#
# ksflatten -c fedora-docker-base[-minimal].ks -o fedora-docker-base-test.ks
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base-test.ks docker
# ksflatten -c fedora-container-base[-minimal].ks -o fedora-container-base-test.ks
# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-container-base-test.ks docker
#
text # don't use cmdline -- https://github.com/rhinstaller/anaconda/issues/931
@@ -30,9 +30,9 @@ clearpart --all
autopart --noboot --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-release
fedora-release-container
bash
coreutils-single
coreutils
glibc-minimal-langpack
libcrypt
rpm
@@ -49,6 +49,7 @@ util-linux
-shared-mime-info
-trousers
-xkeyboard-config
-grubby
%end
@@ -62,7 +63,7 @@ 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-release)
releasever=$(rpm -q --qf '%{version}\n' fedora-release-container)
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary
echo "# fstab intentionally empty for containers" > /etc/fstab

View File

@@ -46,11 +46,10 @@ rng-tools
chrony
bcm283x-firmware
initial-setup
# Intel wireless firmware assumed never of use for disk images
-iwl*
-ipw*
-trousers-lib
-usb_modeswitch
-iproute-tc
-generic-release*
# make sure all the locales are available for inital0-setup and anaconda to work
@@ -61,8 +60,6 @@ glibc-all-langpacks
%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-release)

View File

@@ -8,12 +8,15 @@ autopart --noswap
# install the default groups for the server environment since installing the environment is not working
@server-product
@standard
@core
@headless-management
@hardware-support
@networkmanager-submodules
@container-management
@domain-client
@guest-agents
@server-hardware-support
-initial-setup-gui
-generic-release*
%end

View File

@@ -10,7 +10,7 @@ selinux --enforcing
rootpw --lock --iscrypted locked
# Add most common consoles console=ttyAMA0 console=ttyS0 console=ttyS1 as kernel boot parameter
bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8 console=ttyS1,115200n8 console=ttyAMA0,115200n8 net.ifnames=0 modprobe.blacklist=vc4"
bootloader --timeout=1 --append="net.ifnames=0 modprobe.blacklist=vc4"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
@@ -19,12 +19,12 @@ services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
firstboot --reconfig --enable
zerombr
clearpart --all
clearpart --all --initlabel --disklabel=msdos
autopart --nohome --noswap --type=plain
# Equivalent of %include fedora-repo.ks
# Pull from the ostree repo that was created during the compose
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/29/${basearch}/iot
ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/devel/${basearch}/iot
reboot
@@ -34,9 +34,7 @@ arch=$(uname -m)
# Setup Raspberry Pi firmware
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
cp -Pr /usr/share/bcm283x-firmware/* /boot/efi/
if [[ $arch == "aarch64" ]]; then
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
else
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
@@ -46,19 +44,22 @@ fi
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
# We want consumers of this image to track the two week releases.
ostree admin set-origin --index 0 fedora-iot https://kojipkgs.fedoraproject.org/iot/29/ "fedora/29/${arch}/iot"
ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/devel/${arch}/iot"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-iot:fedora/29/${arch}/iot" --create "fedora-iot:fedora/29/${arch}/iot"
ostree refs "fedora-iot:fedora/devel/${arch}/iot" --create "fedora-iot:fedora/devel/${arch}/iot"
# Remove the old ref so that the commit eventually gets cleaned up.
ostree refs "fedora-iot:fedora/29/${arch}/iot" --delete
ostree refs "fedora-iot:fedora/devel/${arch}/iot" --delete
# delete/add the remote with new options to enable gpg verification
# and to point them at the cdn url
ostree remote delete fedora-iot
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary fedora-iot 'https://dl.fedoraproject.org/iot/repo/'
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-iot-2019 --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist fedora-iot 'https://ostree.fedoraproject.org/iot'
# We're gettin a stray console= from somewhere, work around it
rpm-ostree kargs --delete=console=tty0
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
@@ -107,10 +108,6 @@ rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
echo "Adding Developer Mode GRUB2 menu item."
/usr/libexec/atomic-devmode/bootentry add
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# 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:

View File

@@ -50,6 +50,7 @@ memtest86+
# The point of a live image is to install
anaconda
anaconda-install-env-deps
anaconda-live
@anaconda-tools
# Need aajohan-comfortaa-fonts for the SVG rnotes images
@@ -61,6 +62,10 @@ syslinux
# anaconda needs the locales available to run for different locales
glibc-all-langpacks
# no longer in @core since 2018-10, but needed for livesys script
initscripts
chkconfig
%end
%post
@@ -95,11 +100,10 @@ livedir="LiveOS"
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
livedir=\${arg##rd.live.dir=}
return
continue
fi
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
livedir=\${arg##live_dir=}
return
fi
done
@@ -154,7 +158,6 @@ findPersistentHome() {
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
homedev=\${arg##persistenthome=}
return
fi
done
}
@@ -344,8 +347,19 @@ cp $INSTALL_ROOT/usr/share/licenses/*-release/* $LIVE_ROOT/
# only works on x86, x86_64
if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
# For livecd-creator builds
if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi
cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS
# For lorax/livemedia-creator builds
sed -i '
/## make boot.iso/ i\
# Add livecd-iso-to-disk script to .iso filesystem at /LiveOS/\
<% f = "usr/bin/livecd-iso-to-disk" %>\
%if exists(f):\
install ${f} ${LIVEDIR}/${f|basename}\
%endif\
' /usr/share/lorax/templates.d/99-generic/live/x86.tmpl
fi
%end

View File

@@ -7,10 +7,9 @@
# - Dan Book <grinnz@grinnz.com>
%include fedora-live-base.ks
%include fedora-live-minimization.ks
%include fedora-cinnamon-common.ks
part / --size=6144
part / --size=8192
%post
# cinnamon configuration

View File

@@ -32,14 +32,18 @@ powerline
powerline-fonts
# Extra wallpapers
# f26-backgrounds-extras-base
# f26-backgrounds-extras-gnome
f28-backgrounds-extras-base
f28-backgrounds-extras-gnome
# removal of unneeded applications
-gnome-boxes
-eog
-rdesktop
# temporarily removing conflicting application
-LuxRender-blender
-mypaint
%end
%post

View File

@@ -1,7 +1,8 @@
# fedora-livedvd-games.ks
#
# Maintainer(s):
# - Bruno Wolff III <bruno@wolff.to>
# - Darryl T. Agostinelli <dagostinelli@gmail.com>
# - Formerly maintained by Bruno Wolff III <bruno@wolff.to>
# - Formerly maintained by Rahul Sundaram
%include fedora-live-xfce.ks
@@ -45,10 +46,10 @@ extremetuxracer
freeciv
freecol
freedoom
freedroidrpg
# freedroidrpg # Cut for size
frozen-bubble
gl-117
glob2
# glob2 - currently broken
lincity-ng
tmw
#maniadrive - currently broken
@@ -66,8 +67,8 @@ ultimatestunts
warzone2100
wesnoth
# worminator # Would pull in fluid-soundfont-lite-patches
warmux
xmoto
# warmux # Cut for size
# xmoto # Cut for size
# traditional (small)
@@ -99,7 +100,7 @@ pachi
pioneers
quarry
# Ri-li cut for size
rogue
# rogue # abandoned. Someone pick it up so we can include it again!
# scorchwentbonkers # Would pull in fluid-soundfont-lite-patches
seahorse-adventures
solarwolf
@@ -181,15 +182,13 @@ tuxtype2
# kde based games
taxipilot
# compilations (we are avoiding compilations, rare exceptions)
bsd-games
# utilities
games-menus
# Note some stuff I don't want pulled into the games spin.
# No compilations of games as I want to only include games that at least
# someone thought were good within a genre.
# Nothing should be downloading data to play.
-autodownloader

View File

@@ -7,7 +7,7 @@
%include fedora-mate-common.ks
%include fedora-live-minimization.ks
part / --size 6144
part / --size 7168
%post
cat >> /etc/rc.d/init.d/livesys << EOF

View File

@@ -5,11 +5,8 @@
# save some space
-mpage
-sox
-hplip
-numactl
-isdn4k-utils
-autofs
# scanning takes quite a bit of space :/
-xsane

View File

@@ -5,5 +5,7 @@
# The Workstion based Python Classroom Lab
%include fedora-live-workstation.ks
%include fedora-live-minimization.ks
%include fedora-python-classroom-gnome-common.ks
# https://bugzilla.redhat.com/show_bug.cgi?id=1695796
part / --size 7168

View File

@@ -5,8 +5,6 @@
#
# Maintainers:
# - Peter Robinson <pbrobinson AT gmail DOT com>
# - Sebastian Dziallas <sdz AT fedoraproject DOT org>
# - Mel Chua <mchua AT fedoraproject DOT org>
%include fedora-live-base.ks
%include fedora-live-minimization.ks

View File

@@ -5,6 +5,7 @@
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
# Zamir SUN <zsun@fedoraproject.org>
#
%packages
@@ -18,7 +19,7 @@ gnome-keyring
# l10n
lxqt-l10n
@lxqt-l10n
lximage-qt-l10n
obconf-qt-l10n
pavucontrol-qt-l10n
@@ -26,6 +27,9 @@ pavucontrol-qt-l10n
# MP3
gstreamer1-plugin-mpg123
# Text Editor
enki
# remove unneeded stuff to get a lightweight system
# fonts (we make no bones about admitting we're english-only)
wqy-microhei-fonts # a compact CJK font, to replace:
@@ -41,7 +45,8 @@ wqy-microhei-fonts # a compact CJK font, to replace:
-@input-methods
-scim*
-m17n*
-ibus*
# Temporary include ibus to workaround RHBZ 1633225
# -ibus*
-iok
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=1429132

View File

@@ -35,7 +35,6 @@ nss-mdns
# Drop things for size
-@3d-printing
-brasero
-colord
-fedora-icon-theme
-gnome-icon-theme
-gnome-icon-theme-symbolic

View File

@@ -3,6 +3,10 @@
-initial-setup-gui
-generic-release*
-glibc-all-langpacks
# recommended by iproute, we don't want it in minimal
-iproute-tc
# recommended by gnutls, we don't want it in minimal
-trousers
glibc-langpack-en
iw
NetworkManager-wifi

View File

@@ -1,70 +0,0 @@
# 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

@@ -1,38 +0,0 @@
# 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

@@ -1,75 +0,0 @@
# 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 --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

@@ -56,8 +56,6 @@ dhcp-client
%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)

View File

@@ -17,6 +17,8 @@ wget
-python33
-python34
-python35
-python36
-python38
-pypy
%end

View File

@@ -7,7 +7,6 @@
%include fedora-python-classroom-common.ks
%packages
ninja-ide
emacs
python3-matplotlib-tk
python3-pillow-tk

View File

@@ -28,14 +28,6 @@ armadillo-devel
ddd
valgrind
#python 2 tools/libraries not included from the groups
python2-tools
python-ipython
python-ipython-console
python-ipython-notebook
sympy
python-networkx
python-pandas
#python 3 and tools/libraries not included from the groups
python3
@@ -51,8 +43,6 @@ python3-networkx
python3-pandas
# matplotlib backends
python-matplotlib-qt4
python-matplotlib-tk
python3-matplotlib-qt4
python3-matplotlib-tk
@@ -70,11 +60,16 @@ rkward
qtoctave
# julia
julia
julia-doc
# Comment out till build failure is sorted
# julia
# julia-doc
# IDEs for the IDE folks
@eclipse
# Workaround for https://pagure.io/releng/issue/7814
-eclipse-linuxtools-vagrant
spyder
#writing & publishing
@@ -96,7 +91,6 @@ openmpi
openmpi-devel
valgrind-openmpi
libgomp
python-pp
mpi4py-openmpi
python3-mpi4py-openmpi

View File

@@ -92,7 +92,7 @@ sugar-logos
# Rebuild initrd for Sugar boot screen
KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n')
/usr/sbin/plymouth-set-default-theme sugar
/sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
# Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db*
@@ -163,6 +163,6 @@ show-logout=false
[org.sugarlabs.power]
automatic=true
EOF
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
%end

View File

@@ -38,6 +38,5 @@ system-config-printer
-desktop-backgrounds-basic
-aspell-* # dictionaries are big
-xfce4-sensors-plugin
-foomatic-db-ppds
%end

View File

@@ -11,7 +11,7 @@ timezone Europe/Zurich
%packages
-gnome-blog
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -11,7 +11,7 @@ timezone Europe/Berlin
%packages
-gnome-blog
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -13,7 +13,7 @@ keyboard fr-latin9
timezone Europe/Paris
%packages
@french-support
langpacks-fr
# exclude input methods:
-m17n*
-scim*

View File

@@ -13,7 +13,7 @@ keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
langpacks-ja
# exclude input methods except ibus:
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
langpacks-nl
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard br-abnt2
timezone America/Sao_Paulo
%packages
@brazilian-support
langpacks-pt_BR
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
langpacks-pt
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard ru
timezone Europe/Moscow
%packages
@russian-support
langpacks-ru
hunspell-ru
# exclude input methods

View File

@@ -13,7 +13,7 @@ keyboard de-latin1-nodeadkeys
timezone Europe/Berlin
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -13,7 +13,7 @@ keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
langpacks-ja
# exclude input methods except ibus:
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard sg-latin1-nodeadkeys
timezone Europe/Zurich
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard de-latin1-nodeadkeys
timezone Europe/Berlin
%packages
@german-support
langpacks-de
# don't install unnecessary input methods
-scim*

View File

@@ -13,7 +13,7 @@ keyboard fr-latin9
timezone Europe/Paris
%packages
@french-support
langpacks-fr
# exclude input methods:
-m17n*
-scim*

View File

@@ -13,7 +13,7 @@ keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
langpacks-ja
# exclude input methods except ibus:
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
langpacks-nl
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
langpacks-pt
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard ru
timezone Europe/Moscow
%packages
@russian-support
langpacks-ru
hunspell-ru
# exclude input methods

View File

@@ -13,7 +13,7 @@ keyboard sg-latin1-nodeadkeys
timezone Europe/Zurich
%packages
@german-support
langpacks-de
# exclude input methods
-ibus*

View File

@@ -13,7 +13,7 @@ keyboard de-latin1-nodeadkeys
timezone Europe/Berlin
%packages
@german-support
langpacks-de
# exclude input methods
-ibus*

View File

@@ -13,7 +13,7 @@ keyboard fr-latin9
timezone Europe/Paris
%packages
@french-support
langpacks-fr
# exclude input methods:
-m17n*
-scim*

View File

@@ -13,7 +13,7 @@ keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
langpacks-ja
# exclude input methods except ibus:
-m17n*
-scim*

View File

@@ -13,7 +13,7 @@ keyboard ru
timezone Europe/Moscow
%packages
@russian-support
langpacks-ru
hunspell-ru
# exclude input methods

View File

@@ -3,14 +3,14 @@
# Maintainer(s):
# - Fabian Affolter <fab at fedoraproject.org>
%include ../fedora-livecd-xfce.ks
%include ../fedora-live-xfce.ks
lang de_DE
keyboard sg-latin1-nodeadkeys
timezone Europe/Zurich
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -3,14 +3,14 @@
# Maintainer(s):
# - Fabian Affolter <fab at fedoraproject.org>
%include ../fedora-livecd-xfce.ks
%include ../fedora-live-xfce.ks
lang de_DE.UTF-8
keyboard de-latin1-nodeadkeys
timezone Europe/Berlin
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -6,14 +6,14 @@
# Maintainer(s):
# - Matthieu Saulnier <fantom@fedoraproject.org>
%include ../fedora-livecd-xfce.ks
%include ../fedora-live-xfce.ks
lang fr_FR.UTF-8
keyboard fr-latin9
timezone Europe/Paris
%packages
@french-support
langpacks-fr
# exclude input methods:
-m17n*
-scim*

View File

@@ -13,7 +13,7 @@ keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
langpacks-ja
# exclude input methods except ibus:
-m17n*
-scim*

View File

@@ -3,14 +3,14 @@
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include ../fedora-livecd-xfce.ks
%include ../fedora-live-xfce.ks
lang nl_NL
keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
langpacks-nl
# exclude input methods
-m17n*
-scim*

View File

@@ -3,14 +3,14 @@
# Maintainer(s):
# - Pedro Silva <pedrofsilva a netcabo.pt>
%include ../fedora-livecd-xfce.ks
%include ../fedora-live-xfce.ks
lang pt_PT.UTF-8
keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
langpacks-pt
# exclude input methods
-m17n*
-scim*

View File

@@ -3,14 +3,14 @@
# Maintainer(s):
# - Sergey Mihailov <sergey.mihailov at gmail.com>
%include ../fedora-livecd-xfce.ks
%include ../fedora-live-xfce.ks
lang ru_RU.UTF-8
keyboard ru
timezone Europe/Moscow
%packages
@russian-support
langpacks-ru
hunspell-ru
# exclude input methods

View File

@@ -10,7 +10,7 @@ keyboard sg-latin1
timezone Europe/Zurich
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard de-latin1-nodeadkeys
timezone Europe/Berlin
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
langpacks-nl
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
langpacks-pt
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard ru
timezone Europe/Moscow
%packages
@russian-support
langpacks-ru
hunspell-ru
# exclude input methods

View File

@@ -10,7 +10,7 @@ keyboard sg-latin1
timezone Europe/Zurich
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard de-latin1-nodeadkeys
timezone Europe/Berlin
%packages
@german-support
langpacks-de
# exclude input methods
-m17n*
-scim*

View File

@@ -0,0 +1,40 @@
# fedora-livedvd-games-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the game Desktop Environment
#
# Maintainer(s):
# - Mika Tsukada <mika.tsukada@miraclelinux.com>
%include ../fedora-live-games.ks
lang ja_JP.UTF-8
keyboard ja
timezone Asia/Tokyo
%packages
langpacks-ja
# exclude input methods except ibus:
-m17n*
-scim*
-iok
glibc-langpack-ja
# ibus-stuff
ibus-kkc
ibus-mozc
%end
%post
cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF"
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "jp"
Option "XkbModel" "jp106"
EndSection
EOF
%end

View File

@@ -10,7 +10,7 @@ keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
langpacks-nl
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
langpacks-pt
# exclude input methods
-m17n*
-scim*

View File

@@ -10,7 +10,7 @@ keyboard ru
timezone Europe/Moscow
%packages
@russian-support
langpacks-ru
hunspell-ru
# exclude input methods