summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkeating <jkeating>2006-01-10 19:03:03 +0000
committerjkeating <jkeating>2006-01-10 19:03:03 +0000
commit1948a8dc9b6f744636fab2cd7bbf6b184005175d (patch)
tree9ece9c19be9c034d5818db56c4469e572e4d6290
parente8bee6434d1130e476146beda166abd68d24e5d9 (diff)
downloadanaconda-1948a8dc9b6f744636fab2cd7bbf6b184005175d.tar.gz
anaconda-1948a8dc9b6f744636fab2cd7bbf6b184005175d.tar.xz
anaconda-1948a8dc9b6f744636fab2cd7bbf6b184005175d.zip
create hfs mapping file in mk-rescueimage.ppc
-rw-r--r--ChangeLog4
-rw-r--r--scripts/mk-rescueimage.ppc17
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d23a9cb14..831cbac31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-10 Jesse Keating <jkeating@redhat.com>
+
+ * util/mk-rescueimage.ppc: Create mapping file for hfs stuff
+
2006-01-09 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version
diff --git a/scripts/mk-rescueimage.ppc b/scripts/mk-rescueimage.ppc
index d9c70c2d0..d526aa0bd 100644
--- a/scripts/mk-rescueimage.ppc
+++ b/scripts/mk-rescueimage.ppc
@@ -142,3 +142,20 @@ for l in cfglines:
cfgfile.write('\n' + rescuelines)
+## Create a mapping file for HFS stuff
+#
+
+mapcontents = """#e x c t cM
+.gz Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
+.b Raw 'UNIX' 'tbxi' "Bootstrap"
+yaboot Raw 'UNIX' 'boot' "Bootstrap"
+vmlinux Raw 'UNIX' 'boot' "Bootstrap"
+.conf Raw 'UNIX' 'boot' "Bootstrap"
+.msg Raw 'UNIX' 'boot' "Bootstrap"
+.txt Raw 'ttxt' 'TEXT' "Text file"
+.sit Raw 'SITx' 'SIT!' "StuffIt Expander archive"
+* Raw '????' '????' "Unknown"""""
+
+mapfile = open("%s/mapping" % (destdir,), "w")
+mapfile.write(mapcontents)
+mapfile.close()