Compare commits

..

34 Commits

Author SHA1 Message Date
Adam Williamson
3fbbc13f95 Add hardware and network support groups to ARM server (#1569183)
These groups were added to the server environment group in comps
but the change was not mirrored here, so the ARM server disk
image is still missing wifi support etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-04-24 09:23:14 -07:00
Dusty Mabe
918f29d051 atomic: use updates ref for kickstarts
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-04-23 13:40:41 -04:00
Dusty Mabe
46e9e83f49 atomic host: use dl.fp.o for cdn fronted ostree repo
We have https://dl.fedoraproject.org/atomic/repo/ fronted by cdn
now so we should make our new media use that as the source to update
from.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-04-17 09:27:47 -04:00
Kevin Fenzi
c9eba41644 increase kde live size slightly to allow current rawhide to compose 2018-04-10 09:20:45 -07:00
Kevin Fenzi
a80ae5c75f do not show updates on xfce live. fixes bug #1564464 2018-04-07 12:43:17 -07:00
Kevin Fenzi
042d1c8e7f Drop foomatic-db-ppds from Xfce. It's ~56MB of space and can be installed by system-config-printer. 2018-04-06 18:07:28 -07:00
Dusty Mabe
4defafdda6 cloud vagrant: add sshfs for vagrant-sshfs
(cherry picked from commit 13dfe736a0)
2018-04-05 11:29:30 -04:00
Mohan Boddu
ac6d5a1446 Merge #372 kde spin fixes (f28) 2018-04-05 00:36:07 +00:00
Mohan Boddu
27ca4a0aed Merge #365 jam: update Ardour to version 5 2018-04-04 15:30:36 +00:00
Rex Dieter
3eca0e116f kde: drop font hacks (for now)
the blacklists were incorrect and erroneous

(cherry picked from commit 19fb7ff7c1)
2018-03-30 11:34:31 -05:00
Rex Dieter
1472b98a43 kde: replace qupzilla with falkon
(cherry picked from commit 34acf4194e)
2018-03-30 11:34:31 -05:00
Kalev Lember
a9370f2609 workstation: Don't autostart gnome-software on live media
gnome-software session service automatically downloads yum metadata,
which all goes to the RAM-backed filesystem overlay when running the
live image. This is undesired as it can make it difficult to install
Workstation on low memory devices.

To fix this, this commit disables gnome-software xdg autostart service
and the gnome-shell search provider on the live media.

https://bugzilla.redhat.com/show_bug.cgi?id=1560504
2018-03-26 13:31:42 +02:00
Kevin Fenzi
9a25016bac When building cloud images oz uses dracut to setup networking and it
in turn makes a ifcfg-en<something> file with this config. We don't
want to use this, we want to always use ifcfg-eth0 so it's the same
on all images. So, we remove ifcfg-en* (They are different on each
arch we make cloud images for, but en* gets them all).
Additionally we were using some old udev tricks to get eth0, but this
is error prone and already incorrect as systemd-udev has moved files
around, so instead we just switch to net.ifnames=0 on the boot line,
which should continue working.
2018-03-19 17:43:39 -07:00
Nils Philippsen
0388d7a3b5 jam: update Ardour to version 5
Version 4 is long since obsolete.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2018-03-19 11:52:39 +01:00
Dusty Mabe
013901d137 Bump some more partition sizes
glibc bumped in size. See [1]

fedora-arm-kde.ks
DEBUG util.py:439:     At least 30MB more space needed on the / filesystem.

fedora-arm-python-classroom.ks
DEBUG util.py:439:     At least 41MB more space needed on the / filesystem.

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

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit 9cd3e06cdb)
2018-03-10 09:10:42 -05:00
Mohan Boddu
dfd15c8186 Increase 200M on fedora arm xfce
https://koji.fedoraproject.org/koji/taskinfo?taskID=25417090

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
(cherry picked from commit 9d5fea902b)
2018-03-10 09:10:24 -05:00
Dusty Mabe
269b930193 atomic: move to unified repo structure
We move to /compose/atomic/repo for the compose time repo and to
/atomic/repo for the production/user repo. See [1].

[1] https://lists.fedoraproject.org/archives/list/rel-eng@lists.fedoraproject.org/thread/KLN5L33BIR3ZEHC5RIG4NXGO7LT6HBXJ/

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit 9fdd766e5d)
2018-03-03 12:36:25 -05:00
Dusty Mabe
473d9f3e85 kde-minimizations: don't exclude ibus
This is needed in the astronomy spin when trying to install the
plasma-desktop. This is the error that is seen without it:

```
- package plasma-applet-redshift-control-1.0.18-4.fc28.noarch requires plasma-desktop, but none of the providers can be installed
- nothing provides libibus-1.0.so.5 needed by plasma-desktop-5.12.2-1.fc29.i686
- nothing provides libibus-1.0.so.5()(64bit) needed by plasma-desktop-5.12.2-1.fc29.x86_64
```

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit 83b52c46cb)
2018-02-28 19:09:12 -05:00
Dusty Mabe
b66e932863 remove all mentions of *productimg*
They were moved into the anaconda installclasses so those packages
no longer exist.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-27 11:09:36 -08:00
Dennis Gilmore
89e7f5892a Merge #342 design-suite: drop f26 wallpapers 2018-02-27 13:57:37 +00:00
Christian Dersch
2aea906580 astronomy: use fedora-live-kde-base.ks to avoid inclusion of fedora-kde-minimization.ks (breaks dependencies) 2018-02-27 14:43:38 +01:00
Dusty Mabe
ececc187b2 extend fs in a few more kickstarts for armhfp failures
koji task 25278678 Fedora-Python-Classroom-armhfp
DEBUG util.py:439:     At least 52MB more space needed on the / filesystem.

koji task: 25278682 Spins armhfp KDE
DEBUG util.py:439:     At least 104MB more space needed on the / filesystem.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:19:17 -08:00
Dusty Mabe
ff45d1ad60 arm kickstarts: extend filesystems to unblock image builds
All of these images are failing because more disk space is needed
to install the required rpms. This PR bumps the sizes so that they
should succeed. See [1].

Here are the current failures in rawhide:

koji task: 25182851 Workstation armhfp live image
DEBUG util.py:439:     At least 93MB more space needed on the / filesystem.

koji task: 25182858 Spins armhfp LXDE
DEBUG util.py:439:     At least 926MB more space needed on the / filesystem.

koji task: 25182869 Spins armhfp Mate
DEBUG util.py:439:     At least 121MB more space needed on the / filesystem.

koji task: 25182901 Spins armhfp LXQt
DEBUG util.py:439:     At least 180MB more space needed on the / filesystem.

koji task: 25182854 Spins armhfp KDE
DEBUG util.py:439:     At least 294MB more space needed on the / filesystem.

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:19:17 -08:00
Dusty Mabe
a3d3880480 live-robotics: don't exclude hunspell
Some packages require it. See [1].

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:18:26 -08:00
Dusty Mabe
916c612a87 python-classroom: add/delete some excludes for armhfp
When trying to build python classroom for armhfp we end up
in quite a dependency hell. Hunspell was the first issue
(fixed in the previous commit). Then there was all of this:

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

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

So here is what I decided to do:

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

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:18:26 -08:00
Dusty Mabe
45274f6e14 py-class-gnome-common: don't exclude hunspell
When trying to build the python classroom lab for armhfp
we see issues [1] because we need hunspell.

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:17:47 -08:00
Dusty Mabe
ca243c4ebc live-minimizations: don't exclude wget
Needed by a few different things. For example to build the security live
image you run into these problems if you exclude wget:

 Problem 1: conflicting requests
  - nothing provides /usr/bin/wget needed by openvas-scanner-5.1.1-4.fc27.x86_64
 Problem 2: package wireshark-gtk-1:2.4.4-2.fc28.x86_64 requires wireshark-cli = 1:2.4.4-2.fc28, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.i686 requires libsmi.so.2, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.x86_64 requires libsmi.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.i686
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.x86_64
 Problem 3: package wireshark-1:2.4.4-2.fc28.x86_64 requires wireshark-cli = 1:2.4.4-2.fc28, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.i686 requires libsmi.so.2, but none of the providers can be installed
  - package wireshark-cli-1:2.4.4-2.fc28.x86_64 requires libsmi.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.i686
  - nothing provides wget needed by libsmi-0.4.8-21.fc28.x86_64

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:17:47 -08:00
Dusty Mabe
f99a3c7b5b live-security: don't exclude realmd package
Needed by anaconda. See [1].

```
- package anaconda-28.22-1.fc28.x86_64 requires anaconda-core = 28.22-1.fc28, but none of the providers can be installed
- nothing provides realmd needed by anaconda-core-28.22-1.fc28.x86_64.
```

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:17:47 -08:00
Dusty Mabe
a4edfbffdf kde-minimization: Don't exclude m17n*, emacs needs it.
This was causing the Jam_KDE Lab to fail. See [1]

[1] https://pagure.io/dusty/failed-composes/issue/9#comment-495037

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-24 11:17:16 -08:00
raveit65
654e722065 MATE f28: drop packages which are already listed in comps
- Drop the exclude on PackageKit,
  as system-config-printer now needs PackageKit-gtk3-module
- move gstreamer1-plugins-ugly-free to comps
2018-02-24 11:17:16 -08:00
Dennis Gilmore
7ccb2ae9ac fix up arm bootloader configuration
ksvalidate complains that "bootloader extlinux" is invalid
ksflatten changes the bootloader option to
"bootloader --location=mbr" we get working configuration using
the updated option so setting the default to it.  The Jenkins
job on pagure is failing due to invalide syntax

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2018-02-24 10:53:39 -06:00
Luya Tshimbalanga
cfaf62d60b design-suite: drop f26 wallpapers 2018-02-21 19:13:42 -08:00
Amit Saha
f2156bf750 Comment out packages causing failures
(See: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/2S6NSQ2FQUSHB7PZEZ52RE2VRHIE6TZU/)
2018-02-21 14:02:55 +11:00
Mohan Boddu
19b821bc92 Branching f28 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2018-02-17 08:50:00 -05:00
32 changed files with 231 additions and 488 deletions

View File

@@ -6,14 +6,15 @@ firewall --enabled --service=mdns,ssh
bootloader --location=mbr
part /boot/efi --size=80 --fstype vfat --asprimary
part /boot/fw --size=30 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary
part swap --size=512 --fstype swap --asprimary
part / --size=2800 --fstype ext4 --asprimary
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-swap
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
%include fedora-repo.ks
@@ -21,7 +22,6 @@ services --enabled=sshd,NetworkManager,avahi-daemon,chronyd,initial-setup,zram-s
@core
@standard
@hardware-support
zram
kernel
# remove this in %post
@@ -51,8 +51,10 @@ glibc-all-langpacks
%post
# Setup Raspberry Pi firmware
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
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
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*

View File

@@ -2,6 +2,7 @@
%include fedora-minimal-common.ks
part /boot --size=512 --fstype ext4
part swap --size=256 --fstype swap
part / --size=1256 --fstype ext4
%packages

View File

@@ -58,17 +58,30 @@ 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
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/repo/ --ref=fedora/28/${basearch}/updates/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.
# Find the architecture we are on
arch=$(uname -m)
# 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-atomic https://kojipkgs.fedoraproject.org/atomic/28/ "fedora/28/${arch}/atomic-host"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-atomic:fedora/28/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/28/${arch}/atomic-host"
# Remove the old ref so that the commit eventually gets
# cleaned up.
ostree refs "fedora-atomic:fedora/28/${arch}/updates/atomic-host" --delete
# delete/add the remote with new options to enable gpg verification
# and to point them at the cdn url
ostree remote delete fedora-atomic
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/repo/'
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-28-primary fedora-atomic 'https://dl.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

View File

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

View File

@@ -15,9 +15,9 @@
# For a TDL file, I store one here:
# 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)
#
#
# Once you have imagefactory and imagefactory-plugins installed, run:
#
#
# curl -O https://pagure.io/fedora-atomic/raw/master/f/fedora-atomic-rawhide.tdl
# tempfile=$(mktemp --suffix=.ks)
# ksflatten -v F22 -c fedora-cloud-base.ks > ${tempfile}
@@ -75,6 +75,7 @@ which
# Need to also add back plymouth in order to mask failure of
# systemd-vconsole-setup.service. BZ#1272684. Comment out for now
#-plymouth
-NetworkManager
-iprutils
# Now that BZ#1199868 is fixed kbd really gets removed but it breaks
# systemd-vconsole-setup.service on boot. Comment out for now
@@ -240,10 +241,10 @@ 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.)"
# When we build the image with oz, dracut is used
# and sets up a ifcfg-en<whatever> for the device. We don't
# want to use this, we use eth0 so it is always the same.
# So we remove all these ifcfg-en<whatever> devices so
# When we build the image with oz, dracut is used
# and sets up a ifcfg-en<whatever> for the device. We don't
# want to use this, we use eth0 so it is always the same.
# So we remove all these ifcfg-en<whatever> devices so
# The 'network' service can come up cleanly.
rm -f /etc/sysconfig/network-scripts/ifcfg-en*

View File

@@ -14,7 +14,7 @@ timezone US/Eastern
auth --useshadow --passalgo=sha512
selinux --enforcing
firewall --enabled --service=mdns
services --enabled=sshd,NetworkManager,chronyd,zram-swap
services --enabled=sshd,NetworkManager,chronyd
network --bootproto=dhcp --device=link --activate
rootpw --lock --iscrypted locked
shutdown
@@ -33,7 +33,6 @@ firstboot --reconfig
@core
@standard
@hardware-support
zram
kernel
# remove this in %post
@@ -46,10 +45,11 @@ 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
@@ -60,6 +60,8 @@ 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

@@ -1,9 +1,9 @@
%include fedora-disk-base.ks
%include fedora-minimal-common.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
services --enabled=sshd,NetworkManager,chronyd,initial-setup
autopart --type=plain --noswap
autopart --type=plain
%packages
-xkeyboard-config

View File

@@ -1,17 +1,14 @@
%include fedora-disk-base.ks
services --enabled=sshd,NetworkManager,chronyd,initial-setup,zram-swap
services --enabled=sshd,NetworkManager,chronyd,initial-setup
autopart --noswap
autopart
%packages
# install the default groups for the server environment since installing the environment is not working
# install the default groups for the server evironment since installing the environment is not working
@server-product
@standard
@headless-management
@hardware-support
@networkmanager-submodules
@container-management
@domain-client
-initial-setup-gui

View File

@@ -4,9 +4,9 @@
bootloader --append="cma=256MB"
services --enabled=sshd,NetworkManager,chronyd,zram-swap
services --enabled=sshd,NetworkManager,chronyd
autopart --type=plain --noswap
autopart --type=plain
%packages
-initial-setup

View File

@@ -5,8 +5,6 @@
%packages --excludedocs --instLangs=en --nocore
rootfiles
# https://communityblog.fedoraproject.org/modularity-dead-long-live-modularity/
fedora-repos-modular
tar # https://bugzilla.redhat.com/show_bug.cgi?id=1409920
vim-minimal
dnf
@@ -23,9 +21,6 @@ rm -rf /tmp/*
# https://pagure.io/atomic-wg/issue/308
printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf
# https://bugzilla.redhat.com/show_bug.cgi?id=1576993
systemctl disable dnf-makecache.timer
#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

View File

@@ -1,118 +0,0 @@
# This is the kickstart for Fedora IoT disk images.
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
# 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"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=NetworkManager,sshd,rngd,initial-setup,zram-swap
# tell Initial Setup to run in the reconfig mode
firstboot --reconfig --enable
zerombr
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
reboot
%post --erroronfail
# Find the architecture we are on
arch=$(uname -m)
# Setup Raspberry Pi firmware
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
if [[ $arch == "aarch64" ]]; then
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
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
fi
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"
# 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"
# Remove the old ref so that the commit eventually gets cleaned up.
ostree refs "fedora-iot:fedora/29/${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/'
# 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
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
echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/systemd/random-seed
echo "Packages within this iot 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

@@ -5,6 +5,7 @@
@kde-desktop
@kde-media
@kde-office
@kde-telepathy
@networkmanager-submodules
### The KDE-Desktop

View File

@@ -49,7 +49,6 @@ memtest86+
# The point of a live image is to install
anaconda
anaconda-install-env-deps
@anaconda-tools
# Need aajohan-comfortaa-fonts for the SVG rnotes images
@@ -95,10 +94,11 @@ livedir="LiveOS"
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##rd.live.dir=}" != "\${arg}" ]; then
livedir=\${arg##rd.live.dir=}
continue
return
fi
if [ "\${arg##live_dir=}" != "\${arg}" ]; then
livedir=\${arg##live_dir=}
return
fi
done
@@ -153,6 +153,7 @@ findPersistentHome() {
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
homedev=\${arg##persistenthome=}
return
fi
done
}
@@ -205,10 +206,6 @@ systemctl --no-reload disable atd.service 2> /dev/null || :
systemctl stop crond.service 2> /dev/null || :
systemctl stop atd.service 2> /dev/null || :
# turn off abrtd on a live image
systemctl --no-reload disable abrtd.service 2> /dev/null || :
systemctl stop abrtd.service 2> /dev/null || :
# Don't sync the system clock when running live (RHBZ #1018162)
sed -i 's/rtcsync//' /etc/chrony.conf

View File

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

View File

@@ -32,8 +32,8 @@ powerline
powerline-fonts
# Extra wallpapers
f28-backgrounds-extras-base
f28-backgrounds-extras-gnome
# f26-backgrounds-extras-base
# f26-backgrounds-extras-gnome
# removal of unneeded applications
-gnome-boxes

View File

@@ -12,7 +12,7 @@
%include fedora-kde-minimization.ks
# DVD payload
part / --size=6500
part / --size=6200
%post
%end

View File

@@ -5,8 +5,13 @@
# save some space
-mpage
-sox
-hplip
-numactl
-isdn4k-utils
-autofs
# smartcards won't really work on the livecd.
-coolkey
# scanning takes quite a bit of space :/
-xsane

View File

@@ -10,11 +10,168 @@
%include fedora-live-kde-base.ks
%include fedora-live-minimization.ks
%include fedora-scientific-common.ks
# The recommended part size for DVDs is too close to use for the scientific spin
part / --size 14500
%packages
# Installing the default/mandatory packages from engineering & scientific
@engineering-and-scientific
# scilab
#scilab
#scilab-devel
#scilab-doc
# Remove sagemath explicitly?
-sagemath
#Devel tools
#Install the mandatory packages from dev-tools and dev-libs
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
@development-tools
@development-libs
@c-development
@rpm-development-tools
#others, not included
# C++ libraries
blitz-devel
armadillo-devel
# Misc. related utils
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
python3-tools
python3-matplotlib
python3-scipy
python3-numpy
python3-ipython
python3-ipython-console
python3-ipython-notebook
python3-sympy
#python3-networkx
python3-pandas
# matplotlib backends
python-matplotlib-qt4
python-matplotlib-tk
python3-matplotlib-qt4
python3-matplotlib-tk
# Include Java development tools
@java-development
apache-commons-math
#fortran compiler
gcc-gfortran
# GUI for R
#rkward
# GUI for Octave
qtoctave
# julia
julia
julia-doc
# IDEs for the IDE folks
@eclipse
spyder
#writing & publishing
emacs
emacs-color-theme
vim
scribus
#scite
lyx
kile
#Presentation, Bibliography & Document arrangement
#tools
BibTool
pdfshuffler
# Parallel/Distributed computing libraries/tools
openmpi
openmpi-devel
valgrind-openmpi
libgomp
python-pp
mpi4py-openmpi
python3-mpi4py-openmpi
#Version control- a GUI for each as well
# Installing rapidsvn will also install subversion package
rapidsvn
git
git-gui
# Mercurial
mercurial
mercurial-hgk
#Backup Utilities
backintime-kde
#needs to install this specifically because of some conflict between openmpi
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
libotf
#root
root
root-gui-fitpanel
root-python
#Multiple jobs/clustering system
# torque
# torque-server
# torque-scheduler
# torque-gui
# torque-libs
# torque-mom
# python-pbs
#Drawing, Picture viewing tools, Visualization tools
dia
inkscape
xzgv
gimp
ggobi
ggobi-devel
#g3data
#Mayavi
#Misc. Utils
screen
tmux
rlwrap
hexchat
shutter
fig2ps
bibtex2html
hevea
#Include Mozilla Firefox
firefox
%end
%post
%end

View File

@@ -5,6 +5,8 @@
#
# 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,7 +5,6 @@
#
# Maintainer(s):
# Christian Dersch <lupinix@fedoraproject.org>
# Zamir SUN <zsun@fedoraproject.org>
#
%packages
@@ -27,9 +26,6 @@ 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:
@@ -45,8 +41,7 @@ wqy-microhei-fonts # a compact CJK font, to replace:
-@input-methods
-scim*
-m17n*
# Temporary include ibus to workaround RHBZ 1633225
# -ibus*
-ibus*
-iok
# Fix https://bugzilla.redhat.com/show_bug.cgi?id=1429132

View File

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

View File

@@ -3,10 +3,6 @@
-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

@@ -56,6 +56,8 @@ 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

@@ -3,7 +3,7 @@
# Exactly one of the following should be uncommented
# For the master branch the following should be uncommented
%include fedora-repo-rawhide.ks
# %include fedora-repo-rawhide.ks
# For non-master branches the following should be uncommented
# %include fedora-repo-not-rawhide.ks
%include fedora-repo-not-rawhide.ks

View File

@@ -1,162 +0,0 @@
%packages
# Installing the default/mandatory packages from engineering & scientific
@engineering-and-scientific
# scilab
scilab
scilab-devel
scilab-doc
# Remove sagemath explicitly?
-sagemath
#Devel tools
#Install the mandatory packages from dev-tools and dev-libs
# C/C++ compiler, gdb, autotools, bison, flex, make, strace..
@development-tools
@development-libs
@c-development
@rpm-development-tools
#others, not included
# C++ libraries
blitz-devel
armadillo-devel
# Misc. related utils
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
python3-tools
python3-matplotlib
python3-scipy
python3-numpy
python3-ipython
python3-ipython-console
python3-ipython-notebook
python3-sympy
python3-networkx
python3-pandas
# matplotlib backends
python-matplotlib-qt4
python-matplotlib-tk
python3-matplotlib-qt4
python3-matplotlib-tk
# Include Java development tools
@java-development
apache-commons-math
#fortran compiler
gcc-gfortran
# GUI for R
rkward
# GUI for Octave
qtoctave
# julia
# 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
emacs
emacs-color-theme
vim
scribus
#scite
lyx
kile
#Presentation, Bibliography & Document arrangement
#tools
BibTool
pdfshuffler
# Parallel/Distributed computing libraries/tools
openmpi
openmpi-devel
valgrind-openmpi
libgomp
python-pp
mpi4py-openmpi
python3-mpi4py-openmpi
#Version control- a GUI for each as well
# Installing rapidsvn will also install subversion package
rapidsvn
git
git-gui
# Mercurial
mercurial
mercurial-hgk
#Backup Utilities
backintime-kde
#needs to install this specifically because of some conflict between openmpi
#and emacs (http://lists.fedoraproject.org/pipermail/devel/2011-July/153812.html)
libotf
#root
root
root-gui-fitpanel
root-python
#Multiple jobs/clustering system
# torque
# torque-server
# torque-scheduler
# torque-gui
# torque-libs
# torque-mom
# python-pbs
#Drawing, Picture viewing tools, Visualization tools
dia
inkscape
xzgv
gimp
ggobi
ggobi-devel
#g3data
#Mayavi
#Misc. Utils
screen
tmux
rlwrap
hexchat
shutter
fig2ps
bibtex2html
hevea
#Include Mozilla Firefox
firefox
%end

View File

@@ -1,12 +0,0 @@
# Fedora Scientific Vagrant box
# Fedora Scientific: For researchers in Science and Engineering
# Fedora-Scientific aims to create a Fedora which has the generic
# toolset for the researcher
# Web: https://labs.fedoraproject.org/en/scientific/
# Maintainer: Amit Saha <amitksaha@fedoraproject.org>
# https://fedoraproject.org/wiki/User:Amitksaha
%include fedora-cloud-base-vagrant.ks
%include fedora-scientific-common.ks

View File

@@ -76,10 +76,6 @@ pulseaudio-utils
# http://bugs.sugarlabs.org/ticket/1951
rp-pppoe
# Useful for SoaS duplication from:
# http://bugs.sugarlabs.org/ticket/74
livecd-tools
# Get the Sugar boot screen
-plymouth-system-theme
-plymouth-theme-charge
@@ -92,7 +88,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
dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
/sbin/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,16 +159,6 @@ show-logout=false
[org.sugarlabs.power]
automatic=true
EOF
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
# 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
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/sugar.soas.gschema.override
%end

View File

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

View File

@@ -1,40 +0,0 @@
# fedora-live-workstation-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the Gnome Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
%include ../fedora-live-workstation.ks
lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
-m17n*
-scim*
-iok
# ibus stuff
ibus-kkc
imsettings
%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
gsettings set org.gnome.desktop.input-sources sources "[('ibus', 'kkc'), ('xkb', 'jp')]"
%end

View File

@@ -1,40 +0,0 @@
# fedora-livecd-kde-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the KDE Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
%include ../fedora-live-kde.ks
lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
-m17n*
-scim*
-iok
# ibus-stuff
fcitx-qt5
ibus-kkc
ibus-mozc
ibus-qt
kcm-fcitx
%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

@@ -14,9 +14,10 @@ timezone Asia/Tokyo
%packages
@japanese-support
# exclude input methods except ibus:
# exclude input methods:
-m17n*
-scim*
-ibus*
-iok
# Better more popular browser
firefox

View File

@@ -1,40 +0,0 @@
# 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
@japanese-support
# 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