summaryrefslogtreecommitdiff
path: root/post-ppc64.sh
blob: eb319814cda48da31f3b54d9f7001544fd78d93a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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