diff options
-rwxr-xr-x | cdinit-ppc64 | bin | 0 -> 75368 bytes | |||
-rw-r--r-- | iso-params-ppc64 | 1 | ||||
-rw-r--r-- | packages-ppc64 | 2 | ||||
-rwxr-xr-x | post-ppc64.sh | 13 | ||||
-rw-r--r-- | ppc/grub.cfg64 | 16 |
5 files changed, 32 insertions, 0 deletions
diff --git a/cdinit-ppc64 b/cdinit-ppc64 Binary files differnew file mode 100755 index 0000000..38fe467 --- /dev/null +++ b/cdinit-ppc64 diff --git a/iso-params-ppc64 b/iso-params-ppc64 new file mode 100644 index 0000000..1f08e9e --- /dev/null +++ b/iso-params-ppc64 @@ -0,0 +1 @@ +-hfs -hfs-volid Adelie_1.0a3 -part -no-desktop -map mapping-ppc -hfs-bless cdroot-ppc/boot -chrp-boot -prep-boot boot/grubcore.img diff --git a/packages-ppc64 b/packages-ppc64 new file mode 100644 index 0000000..87a20f4 --- /dev/null +++ b/packages-ppc64 @@ -0,0 +1,2 @@ +grub-ieee1275 +mac-fdisk diff --git a/post-ppc64.sh b/post-ppc64.sh new file mode 100755 index 0000000..eb31981 --- /dev/null +++ b/post-ppc64.sh @@ -0,0 +1,13 @@ +mkdir -p cdroot-ppc64/boot + +if ! type grub-mkimage>/dev/null; then + echo "GRUB image cannot be created. Using stale copy." + curl "https://distfiles.adelielinux.org/adelie/1.0-alpha/ppc/grubcore.img" > cdroot-ppc/boot/grubcore.img +else + grub-mkimage -c ppc/early.cfg -v -p boot -o cdroot-ppc64/boot/grubcore.img -O powerpc-ieee1275 boot btrfs datetime disk ext2 gfxmenu help hfs hfsplus ieee1275_fb iso9660 jfs ls luks lvm macbless macho nilfs2 ofnet part_apple part_gpt part_msdos png scsi search xfs linux reboot gfxterm gfxterm_background gfxterm_menu +fi + +cp AdelieTux.icns 'cdroot-ppc64/Icon
' +cp ppc/grub.cfg64 cdroot-ppc64/boot/grub.cfg +cp ppc/ofboot.b cdroot-ppc64/boot/ofboot.b +cp cdroot-ppc/boot/ofboot.b cdroot-ppc64/boot/bootinfo.txt diff --git a/ppc/grub.cfg64 b/ppc/grub.cfg64 new file mode 100644 index 0000000..cae5083 --- /dev/null +++ b/ppc/grub.cfg64 @@ -0,0 +1,16 @@ +menuentry "Adelie Linux 1.0-alpha3 Live (PowerPC 64-bit)" --class linux --id adelie-live-64 { + insmod part_apple + insmod iso9660 + insmod linux + search --label "Adelie_1.0a3" --hint cd,apple2 + linux /bzImage + initrd /initrd +} + +menuentry "Reboot and Try Again" --class reboot --id reboot { + reboot +} + +GRUB_DEFAULT=adelie-live-64 +GRUB_TIMEOUT=10 +GRUB_DISTRIBUTOR="Adelie" |