summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-02 15:38:13 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-02 15:38:13 -0600
commitae61fe98419a46847009f0153d6b2e43f5bed891 (patch)
tree5f8cf9fcb2f7f6805dcaac701f2db66c68a91d68
parentac8601cb7ef8f6bc2e18a664320c70fe12f1f055 (diff)
downloadimage-ae61fe98419a46847009f0153d6b2e43f5bed891.tar.gz
image-ae61fe98419a46847009f0153d6b2e43f5bed891.tar.bz2
image-ae61fe98419a46847009f0153d6b2e43f5bed891.tar.xz
image-ae61fe98419a46847009f0153d6b2e43f5bed891.zip
Use arch suffixes for bzImage/initrd/squashfs; fix GRUB root set
-rwxr-xr-xadelie-build-cd10
-rw-r--r--ppc/early.cfg2
-rw-r--r--ppc/early.cfg642
-rw-r--r--ppc/grub.cfg6
-rw-r--r--ppc/grub.cfg646
-rw-r--r--x86/early.cfg2
-rw-r--r--x86/early.cfg642
-rw-r--r--x86/grub.cfg6
-rw-r--r--x86/grub.cfg646
9 files changed, 21 insertions, 21 deletions
diff --git a/adelie-build-cd b/adelie-build-cd
index 4a9fe3d..18d77a5 100755
--- a/adelie-build-cd
+++ b/adelie-build-cd
@@ -256,7 +256,7 @@ make_structure() {
squash_it() {
header 'Creating compressed file system image...'
- mksquashfs squashroot-$ARCH cdroot-$ARCH/adelie.squashfs -noappend
+ mksquashfs squashroot-$ARCH cdroot-$ARCH/$ARCH.squashfs -noappend
}
make_initrd() {
@@ -304,9 +304,9 @@ make_initrd() {
header 'Compressing initrd...'
- (cd initrd-$ARCH; find . | cpio -H newc -o) > cdroot-$ARCH/initrd
- gzip -9 cdroot-$ARCH/initrd
- mv cdroot-$ARCH/initrd.gz cdroot-$ARCH/initrd
+ (cd initrd-$ARCH; find . | cpio -H newc -o) > cdroot-$ARCH/initrd-$ARCH
+ gzip -9 cdroot-$ARCH/initrd-$ARCH
+ mv cdroot-$ARCH/initrd-$ARCH.gz cdroot-$ARCH/initrd-$ARCH
}
prepare_cdroot() {
@@ -322,7 +322,7 @@ prepare_cdroot() {
header 'Adding kernel...'
- mv squashroot-$ARCH/boot/vmlinu* cdroot-$ARCH/bzImage
+ mv squashroot-$ARCH/boot/vmlinu* cdroot-$ARCH/bzImage-$ARCH
}
create_iso() {
diff --git a/ppc/early.cfg b/ppc/early.cfg
index ef47255..0a908eb 100644
--- a/ppc/early.cfg
+++ b/ppc/early.cfg
@@ -1,2 +1,2 @@
-search.fs_label "Adelie 1.0rc1 ppc" --no-floppy root
+search.fs_label "Adelie 1.0rc1 ppc" --no-floppy --set
set prefix=($root)/boot
diff --git a/ppc/early.cfg64 b/ppc/early.cfg64
index a65f671..88ec57c 100644
--- a/ppc/early.cfg64
+++ b/ppc/early.cfg64
@@ -1,2 +1,2 @@
-search.fs_label "Adelie 1.0rc1 ppc64" root
+search.fs_label "Adelie 1.0rc1 ppc64" --no-floppy --set
set prefix=($root)/boot
diff --git a/ppc/grub.cfg b/ppc/grub.cfg
index 284f650..adace64 100644
--- a/ppc/grub.cfg
+++ b/ppc/grub.cfg
@@ -2,9 +2,9 @@ menuentry "Adelie Linux 1.0-RC1 Live (PowerPC 32-bit)" --class linux --id adelie
insmod part_apple
insmod iso9660
insmod linux
- search --label "Adelie 1.0rc1 ppc" --hint cd,apple2 --no-floppy root
- linux ($root)/bzImage
- initrd ($root)/initrd
+ search --label "Adelie 1.0rc1 ppc" --hint cd,apple2 --no-floppy --set
+ linux ($root)/bzImage-ppc squashroot=ppc.squashfs
+ initrd ($root)/initrd-ppc
}
menuentry "Reboot and Try Again" --class reboot --id reboot {
diff --git a/ppc/grub.cfg64 b/ppc/grub.cfg64
index 97e0deb..8240caa 100644
--- a/ppc/grub.cfg64
+++ b/ppc/grub.cfg64
@@ -2,9 +2,9 @@ menuentry "Adelie Linux 1.0-RC1 Live (PowerPC 64-bit)" --class linux --id adelie
insmod part_apple
insmod iso9660
insmod linux
- search --label "Adelie 1.0rc1 ppc64" --hint cd,apple2 --no-floppy root
- linux ($root)/bzImage
- initrd ($root)/initrd
+ search --label "Adelie 1.0rc1 ppc64" --hint cd,apple2 --no-floppy --set
+ linux ($root)/bzImage-ppc64 squashroot=ppc64.squashfs
+ initrd ($root)/initrd-ppc64
}
menuentry "Reboot and Try Again" --class reboot --id reboot {
diff --git a/x86/early.cfg b/x86/early.cfg
index dc1f831..bc8fd12 100644
--- a/x86/early.cfg
+++ b/x86/early.cfg
@@ -1,2 +1,2 @@
-search.fs_label "Adelie 1.0rc1 pmmx" --no-floppy root
+search.fs_label "Adelie 1.0rc1 pmmx" --no-floppy --set
set prefix=($root)/boot
diff --git a/x86/early.cfg64 b/x86/early.cfg64
index 1d410e6..4d09107 100644
--- a/x86/early.cfg64
+++ b/x86/early.cfg64
@@ -1,2 +1,2 @@
-search.fs_label "Adelie 1.0rc1 x86_64" --no-floppy root
+search.fs_label "Adelie 1.0rc1 x86_64" --no-floppy --set
set prefix=($root)/boot
diff --git a/x86/grub.cfg b/x86/grub.cfg
index d76baeb..e9f657d 100644
--- a/x86/grub.cfg
+++ b/x86/grub.cfg
@@ -1,9 +1,9 @@
menuentry "Adelie Linux 1.0-RC1 Live (Intel 32-bit)" --class linux --id adelie-live-cd {
insmod iso9660
insmod linux
- search --label "Adelie 1.0rc1 pmmx" --no-floppy root
- linux ($root)/bzImage
- initrd ($root)/initrd
+ search --label "Adelie 1.0rc1 pmmx" --no-floppy --set
+ linux ($root)/bzImage-pmmx squashroot=pmmx.squashfs
+ initrd ($root)/initrd-pmmx
}
menuentry "Reboot and Try Again" --class reboot --id reboot {
diff --git a/x86/grub.cfg64 b/x86/grub.cfg64
index 1b848fc..dbcdf66 100644
--- a/x86/grub.cfg64
+++ b/x86/grub.cfg64
@@ -1,9 +1,9 @@
menuentry "Adelie Linux 1.0-RC1 Live (Intel 64-bit)" --class linux --id adelie-live-64 {
insmod iso9660
insmod linux
- search --label "Adelie 1.0rc1 x86_64" --no-floppy root
- linux ($root)/bzImage
- initrd ($root)/initrd
+ search --label "Adelie 1.0rc1 x86_64" --no-floppy --set
+ linux ($root)/bzImage-x86_64 squashroot=x86_64.squashfs
+ initrd ($root)/initrd-x86_64
}
menuentry "Reboot and Try Again" --class reboot --id reboot {