Compare commits

...

6 Commits
0.27.1 ... f27

Author SHA1 Message Date
Dusty Mabe
aaec0f8129 atomic: switch to build from updates ref
We build from the updates ref and set the system to upgrade from
the prod ref.
2017-11-22 16:16:09 -05:00
Peter Robinson
7b26fe5163 Merge #313 The enp1s0 interface is a left over from the imagefactory install, clean this up in post install 2017-11-10 15:02:18 +00:00
Mohan Boddu
6108ac78ef Merge #309 Scientific: Comment out emacs + spyder 2017-11-03 18:27:40 +00:00
Peter Robinson
51abf8dcd5 The enp1s0 interface is a left over from the imagefactory install, clean this up in post install 2017-11-03 18:24:21 +00:00
Stephen Gallagher
35240067e0 (F27) Drop --noboot from container image creation
When building Fedora Server base images (such as when building F27
Modular Server), the --noboot option results in the container image
attempting to mount /boot with XFS like the rest of the system.
This results in the image-creation failing.

Since the partitions don't matter in the end (the files are tarred
up and shipped that way), we'll skip this optimization.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-10-31 07:25:40 -04:00
Amit Saha
850a7dffa9 Scientific: Comment out emacs + spyder 2017-10-30 14:59:34 +11:00
4 changed files with 26 additions and 9 deletions

View File

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

View File

@@ -81,6 +81,9 @@ rm -f /var/lib/rpm/__db*
# remove random seed, the newly installed instance should make it's own
rm -f /var/lib/systemd/random-seed
# The enp1s0 interface is a left over from the imagefactory install, clean this up
rm -f /etc/sysconfig/network-scripts/ifcfg-enp1s0
dnf -y remove dracut-config-generic
# Disable network service here, as doing it in the services line

View File

@@ -90,11 +90,13 @@ julia-doc
# IDEs for the IDE folks
@eclipse
spyder
#spyder
#writing & publishing
emacs
emacs-color-theme
# https://bugzilla.redhat.com/show_bug.cgi?id=1506888
#emacs
#emacs-color-theme
vim
scribus
#scite

View File

@@ -27,7 +27,7 @@ reboot
# boot partitions are irrelevant as the final container image is a tarball
zerombr
clearpart --all
autopart --noboot --nohome --noswap --nolvm
autopart --nohome --noswap --nolvm
%packages --excludedocs --instLangs=en --nocore
fedora-modular-release