Compare commits

...

42 Commits
main ... f29

Author SHA1 Message Date
Clement Verna fcf1418f19 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:12:59 +02:00
Peter Robinson 58b60b2a62 IoT: minor ks tweaks
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2019-02-14 15:54:33 +00:00
Peter Robinson f524ca7fd3 IoT: update content URLs, minor fix 2019-02-07 14:29:21 +00:00
Sinny Kumari 43a6635b8b Update ostree repo url from atomic/repo/ to ostree/repo
Also update ostree remote url and set metalink=mirrolist
Related - https://pagure.io/fedora-infrastructure/issue7487

Signed-off-by: Sinny Kumari <sinny@redhat.com>
2019-02-07 11:59:19 +05:30
Clement Verna 776ba2064e Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-05 16:01:02 +01:00
Clement Verna 96e4175ad4 Use the fedora-release-container package in container images
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-03 09:55:53 +01:00
Peter Robinson e88290bfa8 IoT: work around stray console= appearing for some architectures
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-30 17:33:19 +00:00
Peter Robinson 9fb9bcbe45 IoT: setup the stable references for f29
Setup for IoT stable references for ostree

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-27 17:03:29 +00:00
Clement Verna 99961988be 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:36:11 +01:00
Peter Robinson 6f3450b123 drop console options for IoT
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-11-02 16:19:38 +00:00
Miro Hrončok f063d310a6 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 21:20:04 +01:00
Frederick Grose 3a1ac109c3 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 1fd9547, which failed in this.
2018-10-31 10:39:52 -04:00
Clement Verna 21d7a8d661 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:29:03 +01:00
Mohan Boddu f75331262b Fixing https://pagure.io/fedora-kickstarts/pull-request/450
Dont know how the merge conflicts got into it, hence
reverting the changes

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2018-10-29 17:02:18 -04:00
Mohan Boddu 742baccab0 Merge #450 `design suite: temporarily comment conflicting applications` 2018-10-29 19:12:53 +00:00
Zamir SUN 8a096593c1 LXQt: Temporary include to workaround RHBZ 1621317
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-10-28 09:06:19 +08:00
Luya Tshimbalanga 6557734f1a design suite: temporarily comment conflicting applications 2018-10-24 00:20:31 -07:00
Kevin Fenzi 028fd2edcd Merge #447 `Remove exclusion of iproute-tc from fedora-arm-base.` 2018-10-17 20:49:27 +00:00
Dusty Mabe 9e89057b4a
fedora-atomic: split out kickstarts to fix vagrant
In the vagrant kickstarts we had something like

 %include fedora-atomic-vagrant.ks
 %include fedora-atomic-updates.ks

but both fedora-atomic-updates.ks and fedora-atomic-vagrant.ks
included fedora-atomic.ks which means we got duplicate things
in the flattened ks and we get errors. This splits it out a bit
farther so we don't get duplicates.
2018-10-12 17:21:18 -04:00
Paul Whalen 5f9a323aea Remove exclusion of iproute-tc from fedora-arm-base.
Signed-off-by: Paul Whalen <pwhalen@redhat.com>
2018-10-12 16:02:07 -04:00
Dusty Mabe 899bc45aa1
fedora-atomic: add updates and updates-testing kickstarts
This is so we can build media during the updates composes using the
updates and or testing refs. They include the base fedora-atomic.ks.
2018-10-11 13:12:50 -04:00
Peter Robinson 8c83a275ee Fix default partitioning on IoT images post SBSA fix in blivet
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-10-11 17:53:41 +01:00
Frederick Grose 847afdf7a0 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-10-02 18:59:04 -07:00
Frederick Grose 1fd9547603 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-10-02 15:36:36 -07:00
Amit Saha 4a677c7613 Update fedora-scientific-common.ks 2018-09-26 07:14:00 +00:00
Amit Saha b8f8e39b7c Update fedora-scientific-common.ks
Workaround for https://pagure.io/releng/issue/7814
2018-09-26 02:56:12 +00:00
Kevin Fenzi b8b9f532b6 Merge #438 `Drop fedora-live-minimization use from cinnamon` 2018-09-26 00:14:04 +00:00
Kevin Fenzi de39b451c9 Merge #436 `Update fedora-minimization.ks` 2018-09-26 00:11:15 +00:00
Adam Williamson 249374e72b 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:03:52 -07:00
Adam Williamson 5f600c3412 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:59:32 -07:00
Adam Williamson a0ad041cc3 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:36:36 -07:00
Kevin Fenzi 97368dfb7b Merge #432 `Move exclusions of trousers-lib and iproute-tc to minimal-common` 2018-09-25 22:49:46 +00:00
Kevin Fenzi 1052911243 do not exclude foomatic-db-ppds anymore 2018-09-25 15:29:53 -07:00
Adam Williamson 5dc350ad94 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 15:04:16 -07:00
Peter Robinson c6bc0981c7 Merge #423 `Minor updates to Raspberry Pi firmware handling on ARMv7` 2018-09-12 17:04:30 +00:00
Zamir SUN 29304129a0 LXQt: Add default editor
Signed-off-by: Zamir SUN <sztsian@gmail.com>
2018-09-09 22:18:41 +08:00
Peter Robinson fcebc307ad Minor updates to Raspberry Pi firmware handling on ARMv7
Changes so we hangle the firmware more simply and in the same manner
across ARMv7 and aarch64. Enabling for UEFI on ARMv7 too.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-09-06 11:58:38 +01:00
Dan Book 19a58f0fc6 Cinnamon - update background extras to f29 2018-09-02 14:52:25 -04:00
Peter Robinson 1ba38e3f1f drop swap from minimal image, it was missed in the zram PR
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-08-23 10:53:41 +01:00
Dan Book 2bad7a13cb Cinnamon - add parole media player 2018-08-21 14:03:41 -04:00
Amit Saha 46f3891c5c Update fedora-scientific-common.ks: Comment out julia
Comment out julia till https://koji.fedoraproject.org/koji/buildinfo?buildID=1135023 is fixed
2018-08-16 23:19:50 +00:00
Mohan Boddu c5e43ec1f9 Branching F29 from rawhide
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2018-08-13 13:36:18 -04:00
28 changed files with 140 additions and 56 deletions

View File

@ -6,7 +6,7 @@ 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
@ -39,7 +39,6 @@ initial-setup-gui
-iwl*
-ipw*
-usb_modeswitch
-iproute-tc
#lets resize / on first boot
# dracut-modules-growroot
@ -51,10 +50,8 @@ glibc-all-langpacks
%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*

View File

@ -2,7 +2,6 @@
%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

@ -0,0 +1,27 @@
# ./fedora-atomic-testing-base.ks - for building media from the testing
# refs (fedora/29/${basearch}/testing/atomic-host)
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/ostree/repo/ --ref=fedora/29/${basearch}/testing/atomic-host
%post --erroronfail
# Find the architecture we are on
arch=$(uname -m)
# Set the origin to the "main stable ref", distinct from /testing/ 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://ostree.fedoraproject.org "fedora/29/${arch}/atomic-host"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-atomic:fedora/29/${arch}/testing/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
# Remove the old ref so that the commit eventually gets
# cleaned up.
ostree refs "fedora-atomic:fedora/29/${arch}/testing/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-29-primary --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist fedora-atomic 'https://ostree.fedoraproject.org'
%end

6
fedora-atomic-testing.ks Normal file
View File

@ -0,0 +1,6 @@
# ./fedora-atomic-testing.ks - for building base cloud media
# from the testing refs (fedora/29/${basearch}/testing/atomic-host)
%include fedora-atomic.ks
%include fedora-atomic-testing-base.ks

View File

@ -0,0 +1,27 @@
# ./fedora-atomic-updates-base.ks - for building media from the updates
# refs (fedora/29/${basearch}/updates/atomic-host)
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/ostree/repo/ --ref=fedora/29/${basearch}/updates/atomic-host
%post --erroronfail
# Find the architecture we are on
arch=$(uname -m)
# Set the origin to the "main stable 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://ostree.fedoraproject.org "fedora/29/${arch}/atomic-host"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.
ostree refs "fedora-atomic:fedora/29/${arch}/updates/atomic-host" --create "fedora-atomic:fedora/29/${arch}/atomic-host"
# Remove the old ref so that the commit eventually gets
# cleaned up.
ostree refs "fedora-atomic:fedora/29/${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-29-primary --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist fedora-atomic 'https://ostree.fedoraproject.org'
%end

6
fedora-atomic-updates.ks Normal file
View File

@ -0,0 +1,6 @@
# ./fedora-atomic-updates.ks - for building base cloud media
# from the updates refs (fedora/29/${basearch}/updates/atomic-host)
%include fedora-atomic.ks
%include fedora-atomic-updates-base.ks

View File

@ -0,0 +1,6 @@
# ./fedora-atomic-vagrant-testing.ks - for building media from the testing
# refs (fedora/29/${basearch}/testing/atomic-host) for vagrant
%include fedora-atomic-vagrant.ks
%include fedora-atomic-testing-base.ks

View File

@ -0,0 +1,6 @@
# ./fedora-atomic-vagrant-updates.ks - for building media from the updates
# refs (fedora/29/${basearch}/updates/atomic-host) for vagrant
%include fedora-atomic-vagrant.ks
%include fedora-atomic-updates-base.ks

View File

@ -58,7 +58,7 @@ 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/ostree/repo/ --ref=fedora/29/${basearch}/atomic-host
reboot
@ -68,7 +68,7 @@ reboot
# 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/'
ostree remote add --set=gpg-verify=true --set=gpgkeypath=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-29-primary --set=contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist fedora-atomic 'https://ostree.fedoraproject.org'
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299

View File

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

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

@ -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

@ -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

@ -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/stable/${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/stable/${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/stable/${arch}/iot" --create "fedora-iot:fedora/stable/${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/stable/${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

@ -95,11 +95,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 +153,6 @@ findPersistentHome() {
for arg in \`cat /proc/cmdline\` ; do
if [ "\${arg##persistenthome=}" != "\${arg}" ]; then
homedev=\${arg##persistenthome=}
return
fi
done
}
@ -344,8 +342,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,7 +7,6 @@
# - 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,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

@ -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,4 @@
# The Workstion based Python Classroom Lab
%include fedora-live-workstation.ks
%include fedora-live-minimization.ks
%include fedora-python-classroom-gnome-common.ks

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
@ -26,6 +27,9 @@ pavucontrol-qt-l10n
# MP3
gstreamer1-plugin-mpg123
# 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

@ -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

@ -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

@ -70,11 +70,14 @@ rkward
qtoctave
# julia
julia
julia-doc
# Comment out till https://koji.fedoraproject.org/koji/buildinfo?buildID=1135023 is fixed
# julia
# julia-doc
# IDEs for the IDE folks
@eclipse
# Workaround for: https://pagure.io/releng/issue/7814
-eclipse-linuxtools-vagrant
spyder
#writing & publishing

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