Compare commits

...

29 Commits
f35 ... 0.25.2

Author SHA1 Message Date
Christian Dersch
84cba7aaa0 kde: added mediawriter as a replacement for liveusb-creator 2016-11-01 16:44:36 +01:00
Christian Dersch
434aec0dd3 kde: removed obsoleted liveusb-creator 2016-10-31 20:46:13 +01:00
Kamil Páral
d0d81076bb fedora-live-base: change static hostname to localhost-live
This prevents systemd to update it during boot if DHCP supplies a
hostname, which causes sddm to not start. See
https://bugzilla.redhat.com/show_bug.cgi?id=1370222
2016-10-31 19:03:51 +01:00
Christian Dersch
5468763219 astronomy: added ginga FITS viewer and fitsio library 2016-10-28 10:40:56 +02:00
Peter Robinson
965fb1adab revert ext3 /boot for arm images
The issue has been fixed upstream with improvements to ext4 support in u-boot 2016.11,
in Fedora I backported these fixes to uboot-tools-2016.09.01-2.fc25 and they've now
been verified and that release is now stable so we should be good to revert the ext3
partition workaround for F-25 GA.
2016-10-22 18:44:36 +01:00
Peter Robinson
7f436214bc fix graphical initial-setup on ARM images
The old means of enabling the graphical service is obsolete so remove it.
It's now detected by explicitly enabling graphical.target so do this by default
for all graphical UXes
2016-10-19 13:43:58 +01:00
Christian Dersch
8d66af166c astronomy: enhanced Python 3 toolchain 2016-10-16 16:49:35 +02:00
Jason Brooks
6f3661e3a5 revert network service change 2016-10-14 16:27:02 -07:00
Jason Brooks
5d987e82b3 networking fixes for f25
* removes the extra ens3 ifcfg that seems to be added
by dracut at some point (cloud base did this in their
ks a year ago in c509863)
* adds net.ifnames=0 to the bootloader line, because
that seems to be necessary to actually disable consistent
device naming
* enables the network service

see https://pagure.io/atomic-wg/issue/174
2016-10-14 10:13:10 -07:00
Kevin Fenzi
2de79eaadb Switch cloud base back to extlinux from grub2.
We need to unset the 64bit option on ext4 to make extlinux work.
See https://bugzilla.redhat.com/show_bug.cgi?id=1369934
and http://www.syslinux.org/wiki/index.php/Filesystem#ext

(cherry picked from commit 99727567b0)
2016-10-07 11:28:38 -06:00
Adam Williamson
aaaf21e930 s/f24-backgrounds/f25-backgrounds/
but not f24-backgrounds-extras, as there are no -extras packages
for f25-backgrounds yet...so stay with 24 there.
2016-10-03 14:40:27 -07:00
Peter Robinson
73645f341e Touch the machine-id file
So is seems that if you remove the machine-id file it won't regenerate the file
but if you touch the file and leave it empty on boot it'll put a new machine-id
in the empty file. So work around this bug ("feature"?) by touching the file
so we don't have other issues in the process.

We're track the outcome of this in RHBZ 1379800
2016-09-30 16:58:44 +01:00
Christian Dersch
f626ce246d astronomy: added astropy-tools subpackage 2016-09-25 12:34:41 +02:00
Peter Robinson
b41f84a72c Most of the new ARM X/Wayland accelerated drivers need some level of CMA allocation 2016-09-22 14:41:53 +01:00
Peter Robinson
dceca557c3 Initial support for Raspberry Pi. We continue to support existing ARM images without any change to the process (except they have a small 30Mb partition at the begining of the image) but all exisiting documented processe work for image writing. The RPi is auto configured and a pure dd to the card, plug and boot. 2016-09-22 14:41:53 +01:00
Dusty Mabe
e0e0f1f7ee cloud: remove sshfs from vagrant image.
It is not yet in the right package lists for cloud so it's not
available at install time.
2016-09-21 14:06:45 -04:00
Kevin Fenzi
c4c8c7add1 Disable packagekit cached metadata generation to see if it's causing compose failures or if it's something else. 2016-09-20 14:36:55 -06:00
Peter Robinson
1f1184c77c Remove machine-id on pre generated images so it's unique on each deployed device
As referenced on the arm list [1] and as already being done on the docker image we
should remove the unique /etc/machine-id file on compose artifacts to ensure it's
regenerated and unique on each deployed host/device. This unifies the process across
all base ks so it's inherited for each artifact.

[1] https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org/message/Q3YZVF5P2OLLPUJQ2LYZSTKWGGDIU6QO/

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
2016-09-13 09:12:37 +01:00
Peter Robinson
2ac5e77a03 add rng-tools to all ARM images as most arm HW has a HW rng 2016-09-07 15:32:04 +01:00
Amit Saha
c901db770b Scientific: Comment out root for now 2016-08-25 13:45:33 +10:00
Kevin Fenzi
3d4d6ddc8d Switch the cloud base image back to grub2 for now.
For some reason extlinux isn't working right to boot the image.
See bug https://bugzilla.redhat.com/show_bug.cgi?id=1369934
2016-08-24 15:41:24 -06:00
Adam Williamson
d37a1e4622 drop rsyslog service from all cloud kickstarts
it's no longer pulled in by cloud-init (since 2014...). None
of these kickstarts has it in %packages, and it's not in any
of the cloud environment or package groups in comps either. So
it seems like no-one particularly wants rsyslog in the cloud
images.

From compose logs, it looks like trying to enable a non-existent
service in anaconda in Fedora 24 and earlier wasn't a fatal
error (anaconda more or less logged a warning and continued),
but in Fedora 25 and later it does seem to be fatal. It at least
causes one anaconda thread to crash, though the image compose
completes. I think possibly at least the way anaconda's run
in the Cloud compose process, the main thread manages to exit,
but it seems pretty likely the thread crash will result in
problems in the produced image.

Needed on master and f25.
2016-08-24 13:27:45 -06:00
Adam Williamson
4fc84a77a2 manipulate network service in %post (#1369794)
Due to #1369794 , anaconda cannot currently manipulate sysv
services in F25+. So to work around this, take 'network' out of
the services lines in all kickstarts and instead manipulate
it in the %post section, with chkconfig.

Also remove rsyslog from the Atomic image services line because
it doesn't appear to be included in the OStree tree at present
and so attempting to enable the service breaks Atomic image
compose, see e.g.:

https://kojipkgs.fedoraproject.org//work/tasks/9022/15349022/oz-x86_64.log

also correct the name of the ssh service in fedora-arm-base.ks;
it's sshd not ssh.
2016-08-24 10:10:36 -07:00
Adam Williamson
9181574bcc jam: remove retired lv2-fil-plugins
was retired for broken dependencies, no-one has fixed it.
2016-08-23 00:54:18 -05:00
Luya Tshimbalanga
c86a3d3f99 design-suite: fix typo on gimp-dds-plugin 2016-08-22 20:46:51 -07:00
Bruno Wolff III
232e5174ce Temporarily remove maniadrive
maniadrive isn't building with php7
2016-08-19 15:20:25 -05:00
Peter Robinson
06fc035621 move arm boot partition to ext3
With e2fsprogs after 1.43 the 64bit and metadata_csum features are
enabled by default. These features are not currently supported in
u-boot and the 64bit feature introduces changes such that it cannot
be read by implementations that do not support it. U-Boot does not
support the functionality and hence now won't mount it just in case
it corrupts the filesystem, which is a reasonable response, this how
ever stops us from booting when we have a ext4 /boot file system
which means basically we end up with a pot plant. Go back to using
ext3 for the time being as the mkfs.ext3 option doesn't enable these
features and we get booting systems!! YAY \o/
2016-08-17 13:03:52 +01:00
Adam Williamson
722a7889fa specify libcrypt packages in fedora-arm-base for RHBZ #1324623
This seems to be enough to work around yum's issues in dealing
with the libcrypt/libcrypt-nss package split, at least it is
for me.
2016-08-15 22:11:09 +01:00
Peter Robinson
8df52454c6 initial Fedora 25 branched setup
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2016-07-26 06:51:27 +01:00
27 changed files with 131 additions and 52 deletions

View File

@@ -9,7 +9,6 @@ selinux --permissive
firewall --disabled
bootloader --timeout=1 --append="acpi=force"
network --bootproto=dhcp --device=eth0 --onboot=on
services --enabled=network
# Uncomment the next line
# to make the root password be thincrust
@@ -95,5 +94,9 @@ generic-logos
#
%post
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
%end

View File

@@ -7,14 +7,15 @@ firewall --enabled --service=mdns,ssh
# configure extlinux bootloader
bootloader extlinux
part /boot --size=512 --fstype ext4
part swap --size=512 --fstype swap
part / --size=3584 --fstype ext4
part /boot/fw --size=30 --fstype vfat --asprimary
part /boot --size=512 --fstype ext4 --asprimary
part swap --size=512 --fstype swap --asprimary
part / --size=3584 --fstype ext4 --asprimary
# make sure that initial-setup runs and lets us do all the configuration bits
firstboot --reconfig
services --enabled=ssh,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup --disabled=network
services --enabled=sshd,NetworkManager,avahi-daemon,rsyslog,chronyd,initial-setup
%include fedora-repo.ks
@@ -28,9 +29,10 @@ kernel
dracut-config-generic
# install tools needed to manage and boot arm systems
@arm-tools
rng-tools
chrony
extlinux-bootloader
bcm283x-firmware
initial-setup
initial-setup-gui
#lets resize / on first boot
@@ -39,13 +41,26 @@ initial-setup-gui
# remove this in %post
dracut-config-generic
# make sure all the locales are available for inital0-setup and anaconda to work
glibc-all-langpacks
# workaround for consequence of RHBZ #1324623: without this, with
# yum-based creation tools, compose fails due to conflict between
# libcrypt and libcrypt-nss. dnf does not seem to have the same
# issue, so this may be dropped when appliance-creator is ported
# to dnf.
libcrypt-nss
-libcrypt
%end
%post
# Setup Raspberry Pi firmware
cp -Pr /usr/share/bcm283x-firmware/* /boot/fw/
cp -P /usr/share/uboot/rpi_2/u-boot.bin /boot/fw/rpi2-u-boot.bin
cp -P /usr/share/uboot/rpi_3_32b/u-boot.bin /boot/fw/rpi3-u-boot.bin
sed -i '/vfat/ d' /etc/fstab
# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
@@ -66,5 +81,13 @@ systemctl mask tmp.mount
dnf -y remove dracut-config-generic
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@@ -5,8 +5,5 @@
part / --size=5632 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -3,8 +3,5 @@
%include fedora-lxde-packages.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -5,8 +5,5 @@
part / --size=5500 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -1,6 +1,5 @@
%include fedora-arm-base.ks
part /boot --size=512 --fstype ext4
part swap --size=256 --fstype swap
part / --size=1279 --fstype ext4

View File

@@ -3,8 +3,5 @@
%include fedora-soas-packages.ks
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -10,3 +10,8 @@ part / --size=5500 --fstype ext4
%end
%post
# Most of the ARM X accelerated drivers need some level of CMA allocation
sed -i 's/\(append .*\)/\1 cma=256MB/' /boot/extlinux/extlinux.conf
%end

View File

@@ -6,3 +6,11 @@
@printing
%end
%post
# Most of the ARM X accelerated drivers need some level of CMA allocation
sed -i 's/\(append .*\)/\1 cma=192MB/' /boot/extlinux/extlinux.conf
# Explicitly set graphical.target as default as this is how initial-setup detects which version to run
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
%end

View File

@@ -5,8 +5,5 @@
part / --size=4000 --fstype ext4
%post
echo -n "Enabling initial-setup gui mode on startup"
ln -s /usr/lib/systemd/system/initial-setup-graphical.service /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
echo .
%end

View File

@@ -18,11 +18,10 @@ user --name=none
firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8"
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8 net.ifnames=0"
network --bootproto=dhcp --device=link --activate --onboot=on
services --disabled=network
services --enabled=sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
@@ -33,14 +32,14 @@ volgroup atomicos pv.01
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
# Equivalent of %include fedora-repo.ks
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/ --ref=fedora-atomic/rawhide/x86_64/docker-host
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/compose/atomic/25/ --ref=fedora-atomic/25/x86_64/docker-host
reboot
%post --erroronfail
# See https://github.com/projectatomic/rpm-ostree/issues/42
ostree remote delete fedora-atomic
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/rawhide/'
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/'
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
@@ -122,8 +121,15 @@ 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
echo "Adding Developer Mode GRUB2 menu item."
/usr/libexec/atomic-devmode/bootentry add
# enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
%end

View File

@@ -14,7 +14,7 @@ network --bootproto=dhcp --device=link --activate
part / --fstype="ext4" --size=6000
part /boot --size=500 --fstype="ext4"
shutdown
services --disabled=docker-storage-setup,network
services --disabled=docker-storage-setup
services --enabled=NetworkManager,sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
@@ -28,4 +28,9 @@ userdel -r none
# We copy content of separate /boot partition to root part when building live squashfs image,
# and we don't want systemd to try to mount it when pxe booting
cat /dev/null > /etc/fstab
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
%end

View File

@@ -32,9 +32,6 @@ dnf-yum
# users setup. This can actually take a bit of time. Just fold it
# in to the base box disk image
rsync
# Add fuse-sshfs so that the vagrant-sshfs plugin won't have to
# install it on boot. https://github.com/dustymabe/vagrant-sshfs
fuse-sshfs
%end
%post --erroronfail

View File

@@ -39,11 +39,17 @@ firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
network --bootproto=dhcp --device=link --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
part / --fstype ext4 --grow
#
# We need to disable 64bit options here or extlinux won't work.
# See: http://www.syslinux.org/wiki/index.php/Filesystem#ext4
# and
# https://bugzilla.redhat.com/show_bug.cgi?id=1369934
#
part / --fstype ext4 --grow --mkfsoptions="-O ^64bit"
%include fedora-repo.ks
@@ -247,7 +253,6 @@ rm -f /var/lib/rpm/__db*
# <https://bugzilla.redhat.com/show_bug.cgi?id=1015931>
dd if=/usr/share/syslinux/mbr.bin of=/dev/vda
# FIXME: is this still needed?
echo "Fixing SELinux contexts."
touch /var/log/cron
@@ -265,5 +270,13 @@ 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
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@@ -26,7 +26,7 @@ firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
@@ -219,5 +219,9 @@ 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.)"
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
%end

View File

@@ -17,7 +17,7 @@ firewall --disabled
bootloader --timeout=1 --append="no_timer_check console=tty1 console=ttyS0,115200n8" --extlinux
network --bootproto=dhcp --device=eth0 --activate --onboot=on
services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
zerombr
clearpart --all
@@ -211,5 +211,9 @@ 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.)"
# Enable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network on
%end

View File

@@ -87,6 +87,8 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec
umount /run
systemd-tmpfiles --create --boot
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end

View File

@@ -66,16 +66,27 @@ python3-ipython-notebook
python3-sympy
python3-networkx
python3-pandas
python3-pillow
python3-seaborn
python3-statsmodels
python3-scikit-learn
python3-scikit-image
# Python 3 astronomy
astropy-tools
ginga
python3-astropy
python3-astroML
python3-astroML-addons
python3-astroquery
python3-astroscrappy
python3-APLpy
python3-ATpy
python3-ccdproc
python3-fitsio
python3-gatspy
python3-photutils
python3-pyvo
python3-reproject
python3-sep
# matplotlib backends

View File

@@ -17,7 +17,7 @@ xconfig --startxonboot
zerombr
clearpart --all
part / --size 5120 --fstype ext4
services --enabled=NetworkManager,ModemManager --disabled=network,sshd
services --enabled=NetworkManager,ModemManager --disabled=sshd
network --bootproto=dhcp --device=link --activate
shutdown
@@ -214,7 +214,9 @@ touch /.liveimg-configured
# add static hostname to work around xauth bug
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
echo "localhost" > /etc/hostname
# the hostname must be something else than 'localhost'
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
echo "localhost-live" > /etc/hostname
EOF
@@ -321,6 +323,14 @@ echo 'File created by kickstart. See systemd-update-done.service(8).' \
# See bug 1317709
rm -f /boot/*-rescue*
# Disable network service here, as doing it in the services line
# fails due to RHBZ #1369794
/sbin/chkconfig network off
# Remove machine-id on pre generated images
rm -f /etc/machine-id
touch /etc/machine-id
%end
@@ -332,4 +342,5 @@ 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
fi
%end

View File

@@ -19,7 +19,7 @@ part / --size 14336
# Added addons to address rhbz#1336879 from dnf
gimp-data-extras
gimp-dbp
gimp-dds
gimp-dds-plugin
gimp-elsamuko
gimp-fourier-plugin
gimp-gap

View File

@@ -51,8 +51,8 @@ gl-117
glob2
lincity-ng
tmw
maniadrive
maniadrive-music
#maniadrive - maniadrive isn't building with php7
#maniadrive-music
megaglest
nethack-vultures
netpanzer

View File

@@ -108,7 +108,6 @@ ladspa-vco-plugins
#lv2 plugins
lv2
lv2-avw-plugins
lv2-fil-plugins
lv2-invada-plugins
lv2-kn0ck0ut
lv2-ll-plugins

View File

@@ -30,7 +30,7 @@ part / --size=6144
k3b # ~15 megs
#kdeartwork # only include some parts of kdeartwork
fuse
liveusb-creator
mediawriter
# only include kdegames-minimal
-kdegames

View File

@@ -133,9 +133,9 @@ backintime-kde
libotf
#root
root
root-gui-fitpanel
root-python
#root
#root-gui-fitpanel
#root-python
#Multiple jobs/clustering system
# torque

View File

@@ -4,7 +4,11 @@
%include fedora-live-base.ks
%include fedora-workstation-packages.ks
%include snippets/packagekit-cached-metadata.ks
#
# Disable this for now to see if packagekit is causing
# compose failures by leaving a gpg-agent around holding /dev/null open.
#
#include snippets/packagekit-cached-metadata.ks
part / --size 6656

View File

@@ -23,8 +23,8 @@ caja-actions
mate-disk-usage-analyzer
# more backgrounds
f24-backgrounds-base
f24-backgrounds-mate
f25-backgrounds-base
f25-backgrounds-mate
f24-backgrounds-extras-base
# system tools

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