Skip to contentSkip to conversation

wic: add beaglebone.wks

PATCH In review Ed Bartosh 2 participants 4 messages Sep 21, 2016 – Sep 22, 2016

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 wic: add beaglebone.wks

Added wks to make an image for Beaglebone board.

---
 scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks
scripts/lib/wic/canned-wks/beaglebone.wks new file +7 -0
new file mode 100644
index 0000000..753418e
@@ -0,0 +1,7 @@
+# short-description: Create Beaglebone disk image
+# long-description: Creates a partitioned disk image for Beaglebone board
+# which can be directly copied to SD card.
+
+part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
+part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
+
Signature · 1 line
2.1.4
#1 lore raw
Quoted 14 lines · Ed Bartosh

Added wks to make an image for Beaglebone board.

---
 scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks
scripts/lib/wic/canned-wks/beaglebone.wks new file +0 -0
new file mode 100644
index 0000000..753418e

scripts/lib/wic/canned-wks/beaglebone.wks line 7

Quoted 7 lines
scripts/lib/wic/canned-wks/beaglebone.wks new file +7 -0
@@ -0,0 +1,7 @@
+# short-description: Create Beaglebone disk image
+# long-description: Creates a partitioned disk image for Beaglebone board
+# which can be directly copied to SD card.
+
+part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
+part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
+

Should be basically the same as sdimage-bootpart.wks as I used BBB back when I posted it along with some wic fixes. It also used to be possible to build a usable RaspberryPI image with the same kickstart file, though I have not tried that lately.

Signature · 2 lines
Maciej Borzecki
RnDity
author
#2 lore raw
Quoted 19 lines · Maciej Borzęcki
Quoted 18 lines · Ed Bartosh

Added wks to make an image for Beaglebone board.

---
 scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks
scripts/lib/wic/canned-wks/beaglebone.wks new file +4 -0
new file mode 100644
index 0000000..753418e
@@ -0,0 +1,7 @@
+# short-description: Create Beaglebone disk image
+# long-description: Creates a partitioned disk image for Beaglebone board
+# which can be directly copied to SD card.
+
Quoted 8 lines

scripts/lib/wic/canned-wks/beaglebone.wks line 7

Quoted 3 lines
scripts/lib/wic/canned-wks/beaglebone.wks new file +3 -0
+part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
+part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
+

Should be basically the same as sdimage-bootpart.wks as I used BBB back when I posted it along with some wic fixes. It also used to be possible to build a usable RaspberryPI image with the same kickstart file, though I have not tried that lately.

Thank you for pointing this out to me. I've just built wic image using sdimage-bootpart.wks and it worked just fine on my BBB.

I didn't need any fixes though. Have your fixes been merged? Can you point me out to them?

--
Regards,
Ed

author
#3 lore raw
In reply to Ed Bartosh

Please, ignore this patch. It's not needed as fully functional image can be built using existing wks file sdimage-bootpart.wks

Quoted 24 lines · Ed Bartosh

Added wks to make an image for Beaglebone board.

---
 scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks
scripts/lib/wic/canned-wks/beaglebone.wks new file +7 -0
new file mode 100644
index 0000000..753418e
@@ -0,0 +1,7 @@
+# short-description: Create Beaglebone disk image
+# long-description: Creates a partitioned disk image for Beaglebone board
+# which can be directly copied to SD card.
+
+part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
+part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
+
Signature · 1 line
2.1.4
Signature · 3 lines
--
Regards,
Ed