Compare commits

...

49 Commits
main ... f28

Author SHA1 Message Date
Kevin Fenzi b3e9d978c7 Revert "Use the fedora-release-container package to get the release version"
This reverts commit ab0f96678e.

Fedora 28 does not have a fedora-release-container, so this makes it fail.
2019-03-26 11:58:15 -07:00
Clement Verna ab0f96678e Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-05 16:02:01 +01:00
Clement Verna d8c1268e61 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:38:08 +01:00
Clement Verna a600dd769e 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-30 20:30:55 +01:00
Joe Doss c3841ff35a Revert "Remove -NetworkManager to fix BZ#1596062"
This reverts commit d95b59ac3b.
2018-07-12 15:33:14 -05:00
Joe Doss d95b59ac3b Remove -NetworkManager to fix BZ#1596062 2018-07-12 14:43:44 -05:00
Dusty Mabe 9109d36075
atomic: make url match ostreesetup line
When we reset the origin to think it came from another branch, let's
use the same URL as we used in the ostreesetup line.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-06-18 13:56:54 -04:00
Peter Robinson 1a55167415 Merge #400 `Run Initial Setup in reconfig mode on IoT images` 2018-05-30 09:03:36 +00:00
Martin Kolman 5f1ff6c079 Run Initial Setup in reconfig mode on IoT images
Use the "firstboot --reconfig --enable" command[0] to tell
Initial Setup that it should run in the reconfig mode.

[0] http://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#firstboot
2018-05-29 16:16:45 +02:00
Peter Robinson 7e9f7558eb IoT: add firstboot line to ensure we get all initial-setup spokes
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-05-29 15:09:37 +01:00
Peter Robinson 3721df6e5a IoT: move to simple partitioning 2018-05-28 12:49:10 +01:00
Peter Robinson 2f5861cb1c IoT: enable rngd, fix AMA0 console, blacklist vc4 driver (for the moment)
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-05-11 14:32:57 +01:00
Peter Robinson 8ca87ecf8d IoT: update ostree URLs 2018-05-08 17:50:56 +01:00
Peter Robinson f1eae2ab45 initial Fedora IoT kickstart
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-05-08 12:56:50 +01:00
Stephen Gallagher ec4546fbb4
Add hardware and network support groups to aarch64 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>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2018-04-25 17:54:09 -04:00
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
31 changed files with 200 additions and 80 deletions

View File

@ -4,8 +4,7 @@ auth --useshadow --passalgo=sha512
selinux --enforcing
firewall --enabled --service=mdns,ssh
# configure extlinux bootloader
bootloader extlinux
bootloader --location=mbr
part /boot/fw --size=30 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary
@ -39,7 +38,6 @@ initial-setup
initial-setup-gui
-iwl*
-ipw*
-trousers-lib
-usb_modeswitch
-iproute-tc
#lets resize / on first boot

View File

@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-kde-common.ks
part / --size=5690 --fstype ext4
part / --size=6300 --fstype ext4
%post

View File

@ -2,6 +2,8 @@
%include fedora-arm-xbase.ks
%include fedora-lxde-common.ks
part / --size=4000 --fstype ext4
%post
%end

View File

@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-lxqt-common.ks
part / --size=3800 --fstype ext4 --asprimary
part / --size=4200 --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=5500 --fstype ext4
part / --size=6000 --fstype ext4
%post

View File

@ -4,10 +4,13 @@
part / --size=2500 --fstype xfs
%packages
# install the default groups for the server evironment since installing the environment is not working
# install the default groups for the server environment 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

@ -2,7 +2,7 @@
%include fedora-arm-xbase.ks
%include fedora-workstation-common.ks
part / --size=5500 --fstype ext4
part / --size=6200 --fstype ext4
%packages
-initial-setup

View File

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

View File

@ -41,7 +41,8 @@ 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 default is in http://pkgs.fedoraproject.org/cgit/rpms/fedora-productimg-atomic.git
# 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).
@ -57,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/rawhide/ --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/compose/atomic/repo/ "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-28-primary fedora-atomic 'https://kojipkgs.fedoraproject.org/atomic/rawhide/'
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

@ -32,6 +32,8 @@ dnf-yum
# users setup. This can actually take a bit of time. Just fold it
# in to the base box disk image
rsync
# Add in sshfs for vagrant-sshfs plugin
fuse-sshfs
%end
%post --erroronfail

View File

@ -35,7 +35,8 @@ rootpw --lock --iscrypted locked
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
# We pass net.ifnames=0 because we always want to use eth0 here on all the cloud images.
bootloader --timeout=1 --append="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8"
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
@ -170,11 +171,6 @@ NOZEROCONF=yes
DEVTIMEOUT=10
EOF
# For cloud images, 'eth0' _is_ the predictable device name, since
# we don't want to be tied to specific virtual (!) hardware
rm -f /etc/udev/rules.d/70*
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
# simple eth0 config, again not hard-coded to the build hardware
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF
DEVICE="eth0"
@ -245,8 +241,12 @@ 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://fedorahosted.org/cloud/ticket/128
rm -f /etc/sysconfig/network-scripts/ifcfg-ens3
# 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*
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794

View File

@ -5,10 +5,13 @@ services --enabled=sshd,NetworkManager,chronyd,initial-setup
autopart
%packages
# install the default groups for the server evironment since installing the environment is not working
# install the default groups for the server environment 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

@ -32,7 +32,7 @@ autopart --noboot --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-release
bash
coreutils-single
coreutils
glibc-minimal-langpack
libcrypt
rpm
@ -49,6 +49,7 @@ util-linux
-shared-mime-info
-trousers
-xkeyboard-config
-grubby
%end

121
fedora-iot.ks Normal file
View File

@ -0,0 +1,121 @@
# 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
firstboot --reconfig --enable
# 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
# tell Initial Setup to run in the reconfig mode
firstboot --reconfig --enable
zerombr
clearpart --all
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/28/${basearch}/iot
reboot
%post --erroronfail
# Find the architecture we are on
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
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/28/ "fedora/28/${arch}/iot"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-iot:fedora/28/${arch}/iot" --create "fedora-iot:fedora/28/${arch}/iot"
# Remove the old ref so that the commit eventually gets cleaned up.
ostree refs "fedora-iot:fedora/28/${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-28-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

@ -11,7 +11,7 @@
### The KDE-Desktop
### Browser
qupzilla
falkon
### fixes
@ -45,16 +45,6 @@ mediawriter
### space issues
# fonts (we make no bones about admitting we're english-only)
wqy-microhei-fonts # a compact CJK font, to replace:
-naver-nanum-gothic-fonts # Korean
-vlgothic-fonts # Japanese
-adobe-source-han-sans-cn-fonts # simplified Chinese
-adobe-source-han-sans-tw-fonts # traditional Chinese
-paratype-pt-sans-fonts # Cyrillic (already supported by DejaVu), huge
#-stix-fonts # mathematical symbols
# admin-tools
-gnome-disk-utility
# kcm_clock still lacks some features, so keep system-config-date around

View File

@ -2,8 +2,6 @@
%packages
-@input-methods
-scim*
-m17n*
-ibus*
-iok
%end

View File

@ -14,7 +14,8 @@
# Maintainer: Christian Dersch <lupinix@fedoraproject.org>
# https://fedoraproject.org/wiki/User:Lupinix
%include fedora-live-kde.ks
%include fedora-live-kde-base.ks
%include fedora-live-minimization.ks
# The recommended part size for DVDs is too close to use for the astronomy spin
part / --size 14500

View File

@ -31,10 +31,9 @@ gnome-todo
powerline
powerline-fonts
# Extra wallpapers
f26-backgrounds-extras-base
f26-backgrounds-extras-gnome
# f26-backgrounds-extras-base
# f26-backgrounds-extras-gnome
# removal of unneeded applications
-gnome-boxes

View File

@ -77,7 +77,7 @@ sooperlooper
#recodring and DAW
audacity
ardour4
ardour5
rosegarden4
seq24
muse

View File

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

View File

@ -12,7 +12,6 @@
-autofs
# smartcards won't really work on the livecd.
-coolkey
-wget
# scanning takes quite a bit of space :/
-xsane

View File

@ -47,7 +47,6 @@ firefox
# Dictionaries are big
-aspell-*
-hunspell-*
-man-pages*
-words

View File

@ -20,9 +20,9 @@ part / --size 14500
@engineering-and-scientific
# scilab
scilab
scilab-devel
scilab-doc
#scilab
#scilab-devel
#scilab-doc
# Remove sagemath explicitly?
-sagemath
@ -50,7 +50,7 @@ python-ipython
python-ipython-console
python-ipython-notebook
sympy
python-networkx
#python-networkx
python-pandas
#python 3 and tools/libraries not included from the groups
@ -63,7 +63,7 @@ python3-ipython
python3-ipython-console
python3-ipython-notebook
python3-sympy
python3-networkx
#python3-networkx
python3-pandas
# matplotlib backends
@ -80,7 +80,7 @@ apache-commons-math
gcc-gfortran
# GUI for R
rkward
#rkward
# GUI for Octave
qtoctave

View File

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

View File

@ -17,12 +17,20 @@ part / --size 6656
cat >> /etc/rc.d/init.d/livesys << EOF
# disable updates plugin
# disable gnome-software automatically downloading updates
cat >> /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override << FOE
[org.gnome.software]
download-updates=false
FOE
# don't autostart gnome-software session service
rm -f /etc/xdg/autostart/gnome-software-service.desktop
# disable the gnome-software shell search provider
cat >> /usr/share/gnome-shell/search-providers/org.gnome.Software-search-provider.ini << FOE
DefaultDisabled=true
FOE
# don't run gnome-initial-setup
mkdir ~liveuser/.config
touch ~liveuser/.config/gnome-initial-setup-done

View File

@ -60,6 +60,9 @@ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.d
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
# no updater applet in live environment
rm -f /etc/xdg/autostart/org.mageia.dnfdragora-updater.desktop
# and mark it as executable (new Xfce security feature)
chmod +x /home/liveuser/Desktop/liveinst.desktop

View File

@ -1,6 +1,4 @@
%packages
-PackageKit* # we switched to dnfdragora, so we don't need this
firefox
@mate
compiz
compiz-plugins-main
@ -16,22 +14,11 @@ emerald-themes
emerald
fusion-icon
@networkmanager-submodules
blueberry
# some apps from mate-applications
caja-actions
mate-disk-usage-analyzer
# system tools
system-config-printer
system-config-printer-applet
lightdm-gtk-greeter-settings
# audio video
parole
exaile
gstreamer1-plugins-ugly-free # mp3 support
# blacklist applications which breaks mate-desktop
-audacious
@ -41,10 +28,6 @@ gstreamer1-plugins-ugly-free # mp3 support
# dsl tools
rp-pppoe
# some tools
p7zip
p7zip-plugins
# FIXME; apparently the glibc maintainers dislike this, but it got put into the
# desktop image at some point. We won't touch this one for now.
nss-mdns

View File

@ -18,7 +18,6 @@ python3-pillow-tk
-@sound-and-video
-@multimedia
-dleyna*
-evolution*
-gnome-boxes
-gnome-calendar
-gnome-clocks
@ -27,6 +26,7 @@ python3-pillow-tk
-gnome-documents
-gnome-font-viewer
-gnome-maps
-gnome-photos
-gnome-weather
-grilo-plugins
-cheese
@ -35,7 +35,6 @@ python3-pillow-tk
# This is no longer workstation
-@workstation-product
-fedora-productimg-workstation
# Add a web browser
@firefox
@ -56,11 +55,11 @@ python3-pillow-tk
# Dictionaries are big
-aspell-*
-hunspell-*
-words
# Help and art can be big, too
-gnome-user-docs
-gnome-getting-started-docs
-desktop-backgrounds-basic
-*backgrounds-extras

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

@ -20,9 +20,6 @@
@printing
@workstation-product
# Branding for the installer
fedora-productimg-workstation
# Exclude unwanted packages from @anaconda-tools group
-gfs2-utils
-reiserfs-utils

View File

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