[spin-kickstarts] atomic: Remove %post which calls fixfiles
by Colin Walters
commit 7d8b302b9fa02e5a83b51140746361aa54693f5b
Author: Colin Walters <walters(a)verbum.org>
Date: Mon Jul 21 14:09:24 2014 -0400
atomic: Remove %post which calls fixfiles
This should be handled correctly at installation time. If it's not, I
think what we really want is a %post --relabel or something option to
have Anaconda take care of this.
fedora-cloud-atomic.ks | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 8dd6e35..19c1bcc 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -121,15 +121,6 @@ echo "-----------------------------------------------------------------------"
# Note that running rpm recreates the rpm db files which aren't needed/wanted
rm -f /var/lib/rpm/__db*
-
-echo "Fixing SELinux contexts."
-touch /var/log/cron
-touch /var/log/boot.log
-mkdir -p /var/cache/yum
-chattr -i /boot/extlinux/ldlinux.sys
-/usr/sbin/fixfiles -R -a restore
-chattr +i /boot/extlinux/ldlinux.sys
-
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 || :
9 years, 9 months
[spin-kickstarts] atomic: No need to strip out packages post-install
by Colin Walters
commit 56085be1db4721ddbf94e7f766f9389e69060c99
Author: Colin Walters <walters(a)verbum.org>
Date: Mon Jul 21 14:08:46 2014 -0400
atomic: No need to strip out packages post-install
Anaconda doesn't require firewalld at least anymore, and in any case
we can't strip packages from the tree.
fedora-cloud-atomic.ks | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 77a6f6b..8dd6e35 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -47,20 +47,6 @@ echo -n "Disabling persistent journal"
rmdir /var/log/journal/
echo .
-# this is installed by default but we don't need it in virt
-echo "Removing linux-firmware package."
-yum -C -y remove linux-firmware
-
-# Remove firewalld; was supposed to be optional in F18+, but is required to
-# be present for install/image building.
-echo "Removing firewalld."
-yum -C -y remove firewalld --setopt="clean_requirements_on_remove=1"
-
-# Another one needed at install time but not after that, and it pulls
-# in some unneeded deps (like, newt and slang)
-echo "Removing authconfig."
-yum -C -y remove authconfig --setopt="clean_requirements_on_remove=1"
-
echo -n "Getty fixes"
# although we want console output going to the serial console, we don't
# actually have the opportunity to login there. FIX.
9 years, 9 months
[spin-kickstarts] atomic: default.target is set in the tree
by Colin Walters
commit ceba259b5abaa334128ff57a1268c70bec20679e
Author: Colin Walters <walters(a)verbum.org>
Date: Mon Jul 21 14:08:22 2014 -0400
atomic: default.target is set in the tree
The compose process sets it.
fedora-cloud-atomic.ks | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 3b8816e..77a6f6b 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -42,12 +42,6 @@ userdel -r none
# 0 means wait forever, so instead we'll go with 1.
sed -i 's/^timeout 10/timeout 1/' /boot/extlinux/extlinux.conf
-# setup systemd to boot to the right runlevel
-echo -n "Setting default runlevel to multiuser text mode"
-rm -f /etc/systemd/system/default.target
-ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
-echo .
-
# If you want to remove rsyslog and just use journald, remove this!
echo -n "Disabling persistent journal"
rmdir /var/log/journal/
9 years, 9 months
[spin-kickstarts] atomic: Strip GRUB1/EC2 bits
by Colin Walters
commit e8ca9581eb82684566a0256006914e04ed2155b2
Author: Colin Walters <walters(a)verbum.org>
Date: Mon Jul 21 14:07:32 2014 -0400
atomic: Strip GRUB1/EC2 bits
These don't work, because OSTree doesn't understand GRUB1 config
files. We should focus on HVM.
fedora-cloud-atomic.ks | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 59dd910..3b8816e 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -32,29 +32,6 @@ reboot
%post --erroronfail
-# Create grub.conf for EC2. This used to be done by appliance creator but
-# anaconda doesn't do it. And, in case appliance-creator is used, we're
-# overriding it here so that both cases get the exact same file.
-# Note that the console line is different -- that's because EC2 provides
-# different virtual hardware, and this is a convenient way to act differently
-echo -n "Creating grub.conf for pvgrub"
-rootuuid=$( awk '$2=="/" { print $1 };' /etc/fstab )
-mkdir /boot/grub
-echo -e 'default=0\ntimeout=0\n\n' > /boot/grub/grub.conf
-for kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do
- echo "title Fedora ($kv)" >> /boot/grub/grub.conf
- echo -e "\troot (hd0,0)" >> /boot/grub/grub.conf
- echo -e "\tkernel /boot/vmlinuz-$kv ro root=$rootuuid no_timer_check console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf
- echo -e "\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf
- echo
-done
-
-
-#link grub.conf to menu.lst for ec2 to work
-echo -n "Linking menu.lst to old-style grub.conf for pv-grub"
-ln -sf grub.conf /boot/grub/menu.lst
-ln -sf /boot/grub/grub.conf /etc/grub.conf
-
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
passwd -l root
9 years, 9 months
[spin-kickstarts] atomic: Drop %packages section
by Colin Walters
commit 04ec88194acda21444f61e8399ba31941c928ebd
Author: Colin Walters <walters(a)verbum.org>
Date: Mon Jul 21 14:07:03 2014 -0400
atomic: Drop %packages section
Not relevant when doing an OSTree install.
fedora-cloud-atomic.ks | 49 ------------------------------------------------
1 files changed, 0 insertions(+), 49 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 5abde76..59dd910 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -30,55 +30,6 @@ ostreesetup --osname="fedora-atomic" --remote="fedora-atomic" --url="http://dl.f
reboot
-# Package list.
-%packages
-
-fedora-release-cloud
-
-kernel-core
-@core
-grubby
-
-
-
-# cloud-init does magical things with EC2 metadata, including provisioning
-# a user account with ssh keys.
-cloud-init
-
-# this is used by openstack's cloud orchestration framework (and it's small)
-heat-cfntools
-
-# need this for growpart, because parted doesn't yet support resizepart
-# https://bugzilla.redhat.com/show_bug.cgi?id=966993
-cloud-utils-growpart
-
-# We need this image to be portable; also, rescue mode isn't useful here.
-dracut-config-generic
--dracut-config-rescue
-
-syslinux-extlinux
-
-# Needed initially, but removed below.
-firewalld
-
-# cherry-pick a few things from @standard
-tar
-rsync
-
-# Some things from @core we can do without in a minimal install
--biosdevname
--plymouth
--NetworkManager
--iprutils
--kbd
--uboot-tools
--kernel
--grub2
-
-%end
-
-
-
%post --erroronfail
# Create grub.conf for EC2. This used to be done by appliance creator but
9 years, 9 months
[spin-kickstarts] atomic: Use ostreesetup instead of %repo
by Colin Walters
commit b73614d1e19f75e189b9f90e90e596b19d3b9314
Author: Colin Walters <walters(a)verbum.org>
Date: Mon Jul 21 14:06:35 2014 -0400
atomic: Use ostreesetup instead of %repo
Since we're doing an OSTree install
fedora-cloud-atomic.ks | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/fedora-cloud-atomic.ks b/fedora-cloud-atomic.ks
index 7c01390..5abde76 100644
--- a/fedora-cloud-atomic.ks
+++ b/fedora-cloud-atomic.ks
@@ -25,8 +25,8 @@ zerombr
clearpart --all
part / --size 3000 --fstype ext4
-%include fedora-repo.ks
-
+# Equivalent of %include fedora-repo.ks
+ostreesetup --osname="fedora-atomic" --remote="fedora-atomic" --url="http://dl.fedoraproject.org/repo" --nogpg
reboot
9 years, 9 months
[spin-kickstarts] remove growroot in arm images to test 1109603
by Peter Robinson
commit 2fa7a61c8e3a7202bef25714230a61cab898040b
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Wed Jul 16 10:28:48 2014 +0100
remove growroot in arm images to test 1109603
fedora-arm-base.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fedora-arm-base.ks b/fedora-arm-base.ks
index 15f3cc7..fb25a7f 100644
--- a/fedora-arm-base.ks
+++ b/fedora-arm-base.ks
@@ -34,7 +34,7 @@ extlinux-bootloader
initial-setup
initial-setup-gui
#lets resize / on first boot
-dracut-modules-growroot
+# dracut-modules-growroot
# remove this in %post
dracut-config-generic
9 years, 9 months
Expanding the branding and marketing of spins?
by Matthew Garrett
We don't do a great job of marketing spins at the moment - a naive user
has to click "Download" and then do something other than click the large
obvious "Download now!" button. Clicking "Desktops" gives a list of
desktops with no real information about what they are - users have to
click through to the spins site. Non-desktop spins are hidden under a
tab marked "spins", which is Fedora-specific terminology. Even once you
get to spins.fedoraproject.org, every spin is forced into a format that
gives little opportunity to differentiate. There's no integration with
upstream branding.
The board is considering whether the current situation meets the needs
of the spins. Do people feel that they would benefit from the
opportunity to have a stronger individual identity for their spin, with
its own website and branding (still obviously tied to Fedora, but
potentially also tied to upstream)? Or is the feeling that the current
situation is acceptable?
--
Matthew Garrett | mjg59(a)srcf.ucam.org
9 years, 9 months
[spin-kickstarts] Created tag 0.21.7
by Bruno Wolff III
The lightweight tag '0.21.7' was created pointing to:
bee1c03... put experimental cloud spin back to same as base cloud spin
9 years, 9 months
[spin-kickstarts] Created tag 0.22.0
by Bruno Wolff III
The lightweight tag '0.22.0' was created pointing to:
44dd601... put experimental cloud spin back to same as base cloud spin
9 years, 9 months