summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-02-22 10:59:03 -0500
committerChris Lumens <clumens@redhat.com>2012-02-22 11:01:16 -0500
commit744b9ceb3f814c0faa8b2bd0a7b250ff6e2679d7 (patch)
tree58f1baf8849999a4c7895e544fc4a81174be0e24 /anaconda
parent47db08b32ea07596962ec92c11005e86c754070a (diff)
downloadanaconda-744b9ceb3f814c0faa8b2bd0a7b250ff6e2679d7.tar.gz
anaconda-744b9ceb3f814c0faa8b2bd0a7b250ff6e2679d7.tar.xz
anaconda-744b9ceb3f814c0faa8b2bd0a7b250ff6e2679d7.zip
Support implementing portions of anaconda's post-install as %post scripts.
For now, all that's supported is copying screenshots. However this could be extended to other portions that really don't benefit from being in python (restorecon, etc.). Of course none of these scripts get run yet given that we don't have any way to run the kickstart file, but once we do we'll get this for free.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda4
1 files changed, 4 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 5cc670efe..6518aa785 100755
--- a/anaconda
+++ b/anaconda
@@ -733,6 +733,10 @@ if __name__ == "__main__":
else:
ksdata = kickstart.AnacondaKSHandler(anaconda)
+ # Some post-install parts of anaconda are implemented as kickstart
+ # scripts. Add those to the ksdata now.
+ kickstart.appendPostScripts(ksdata)
+
# now start the interface
setupDisplay(anaconda, opts)