summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-03-10 11:36:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-03-10 11:36:32 +0000
commiteb0cdccc9a032281aee6b104f1ab322a95d392da (patch)
tree849bb6167921bffbe8b020fa9a013a87a372ef80
parent0025bd19b0b7e2187944bc47d56cea04452ad272 (diff)
downloaddrakx-eb0cdccc9a032281aee6b104f1ab322a95d392da.tar
drakx-eb0cdccc9a032281aee6b104f1ab322a95d392da.tar.gz
drakx-eb0cdccc9a032281aee6b104f1ab322a95d392da.tar.bz2
drakx-eb0cdccc9a032281aee6b104f1ab322a95d392da.tar.xz
drakx-eb0cdccc9a032281aee6b104f1ab322a95d392da.zip
modif needed to build ppc isos (10.1 and 10.2, though this is only committed now)
anyway, should be moved to mkcd
-rwxr-xr-xtools/ppc/mapping7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ppc/mapping b/tools/ppc/mapping
index 35d5d3d1c..a84b0019d 100755
--- a/tools/ppc/mapping
+++ b/tools/ppc/mapping
@@ -26,4 +26,11 @@ VERSION Ascii 'ttxt' 'ttro' "Text File"
.conf Ascii 'ttxt' 'TEXT' "config file"
.tbxi Raw 'chrp' 'tbxi' "Macintosh Toolbox ROM file"
.sea Raw 'aust' 'APPL' "Self Expanding Archive"
+.mov Raw 'TVOD' 'MooV' "QuickTime Movie"
+.bin Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
+.img 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' 'conf' "bootstrap"
* Raw '????' '????' "Unknown"
move_light_tree {
if (-e $light_prefix) {
print "still there:\n";
system('find', $light_prefix);
-
- foreach my $dest (chomp_(`find $prefix -type l`)) {
- my $orig = readlink($dest) or next;
- $orig =~ s!/image_$live_name/!$light_prefix/! or next;
-
- unlink $dest or die "removing $dest failed: $!\n";
- rename $orig, $dest or die "moving $orig to $dest failed: $!\n";
- }
- rmdir($_) foreach reverse(chomp_(`find $light_prefix -type d`));
- }
- if (-e $light_prefix) {
- print "still there:\n";
- system('find', $light_prefix);
}
}