commit df72cdca24cde78e00290f3b8bd52e33a7a4ea6b
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sun Apr 10 10:39:47 2011 -0500
qa-testday: %post sections are not run in the order I expected.
Both qa-testday.ks and fedora-live-desktop.ks were trying to modify
/usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
by appending to the end of it. However, even though fedora-live-desktop.ks
was %included at the start of qa-testday.ks, the %post section from
fedora-live-desktop.ks was run second, so that its favorite-apps setting
was taking prference.
So I am going back to including a vender string in the name of the
override file. This seems to result in the config from qa-testday.ks
taking precedence. But I don't know if this is based on alphabetic
ordering by filename or just random happenstance. I have a question
pending on the kickstart list to see if I can get more information
on %post ordering.
custom/qa-test-day.ks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/custom/qa-test-day.ks b/custom/qa-test-day.ks
index 5cd8dbb..953784c 100644
--- a/custom/qa-test-day.ks
+++ b/custom/qa-test-day.ks
@@ -88,7 +88,7 @@ EOF
# Change the favorites using a vendor override. (Adding a profile would
# be another way to do this.)
-cat << EOF >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override
+cat << EOF >>
/usr/share/glib-2.0/schemas/org.gnome.shell.qa-testday.gschema.override
[org.gnome.shell]
favorite-apps=['testday-wiki.desktop', 'testday-irc.desktop',
'liveinst.desktop', 'nautilus.desktop', 'gnome-terminal.desktop']
EOF
Show replies by date