Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit be8de6d

Browse files
Merge pull request #17 from dm4tze/efiboot
Add boot flag for efi boot
2 parents fce7216 + ed6488a commit be8de6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

builder/rpi/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ echo "Image ${IMAGE_PATH} created and mounted as ${DEVICE}."
3333
sfdisk --force "${DEVICE}" <<PARTITION
3434
unit: sectors
3535
36-
/dev/loop0p1 : start= ${BOOTFS_START}, size= ${BOOTFS_SIZE}, Id= c
36+
/dev/loop0p1 : start= ${BOOTFS_START}, size= ${BOOTFS_SIZE}, Id= c, bootable
3737
/dev/loop0p2 : start= ${ROOTFS_START}, size= ${ROOTFS_SIZE}, Id=83
3838
/dev/loop0p3 : start= 0, size= 0, Id= 0
3939
/dev/loop0p4 : start= 0, size= 0, Id= 0

builder/rpi/test/image_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
end
1919

2020
it "has a boot-partition with a sda1 W95 FAT32 filesystem" do
21-
expect(stdout).to contain('^.*\.img1 .*W95 FAT32 \(LBA\)$')
21+
expect(stdout).to contain('^.*\.img1 \* .*W95 FAT32 \(LBA\)$')
2222
end
2323

2424
it "has a root-partition with a sda2 Linux filesystem" do
2525
expect(stdout).to contain('^.*\.img2 .*Linux$')
2626
end
2727

2828
it "partition sda1 starts at sector 2048" do
29-
expect(stdout).to contain('^.*\.img1\ *2048 .*$')
29+
expect(stdout).to contain('^.*\.img1\ \* *2048 .*$')
3030
end
3131

3232
it "partition sda1 has a size of 100M" do

0 commit comments

Comments
 (0)