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

Commit

Permalink
Merge pull request #17 from dm4tze/efiboot
Browse files Browse the repository at this point in the history
Add boot flag for efi boot
  • Loading branch information
StefanScherer authored Mar 14, 2020
2 parents fce7216 + ed6488a commit be8de6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builder/rpi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ echo "Image ${IMAGE_PATH} created and mounted as ${DEVICE}."
sfdisk --force "${DEVICE}" <<PARTITION
unit: sectors
/dev/loop0p1 : start= ${BOOTFS_START}, size= ${BOOTFS_SIZE}, Id= c
/dev/loop0p1 : start= ${BOOTFS_START}, size= ${BOOTFS_SIZE}, Id= c, bootable
/dev/loop0p2 : start= ${ROOTFS_START}, size= ${ROOTFS_SIZE}, Id=83
/dev/loop0p3 : start= 0, size= 0, Id= 0
/dev/loop0p4 : start= 0, size= 0, Id= 0
Expand Down
4 changes: 2 additions & 2 deletions builder/rpi/test/image_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
end

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

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

it "partition sda1 starts at sector 2048" do
expect(stdout).to contain('^.*\.img1\ *2048 .*$')
expect(stdout).to contain('^.*\.img1\ \* *2048 .*$')
end

it "partition sda1 has a size of 100M" do
Expand Down

0 comments on commit be8de6d

Please sign in to comment.