From d64a316b1fc1a0359e9805159609f42595448df3 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Mon, 11 Jul 2022 19:18:06 +0900 Subject: [PATCH 1/3] Disable nk.bin boot loader injection by default --- image/build_image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/image/build_image.sh b/image/build_image.sh index 1f066b7..5fd556c 100755 --- a/image/build_image.sh +++ b/image/build_image.sh @@ -60,7 +60,8 @@ sudo mount /dev/mapper/${LOOPDEV}p2 ${WORK}/p2 sudo cp ${LINUX}/arch/arm/boot/zImage ${WORK}/p1/ sudo cp ${LINUX}/arch/arm/boot/dts/imx28-pw*.dtb ${WORK}/p1/ -sudo cp ${WORK}/*.bin ${WORK}/p1/ +sudo mkdir -p ${WORK}/p1/nk +sudo cp ${WORK}/*.bin ${WORK}/p1/nk/ make -C ${REPO}/brainlilo From 7a34055ef3f56fffe3a3338ed6aca60ced3c66c8 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Mon, 11 Jul 2022 19:18:20 +0900 Subject: [PATCH 2/3] Name the new volumes --- image/build_image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image/build_image.sh b/image/build_image.sh index 5fd556c..832b137 100755 --- a/image/build_image.sh +++ b/image/build_image.sh @@ -51,8 +51,8 @@ sudo kpartx -av ${IMG} LOOPDEV=$(losetup -l | grep sd.img | grep -o 'loop.' | tail -n 1) -sudo mkfs.fat -F32 -v -I /dev/mapper/${LOOPDEV}p1 -sudo mkfs.ext4 /dev/mapper/${LOOPDEV}p2 +sudo mkfs.fat -n boot -F32 -v -I /dev/mapper/${LOOPDEV}p1 +sudo mkfs.ext4 -L rootfs /dev/mapper/${LOOPDEV}p2 mkdir -p ${WORK}/p1 ${WORK}/p2 sudo mount -o utf8=true /dev/mapper/${LOOPDEV}p1 ${WORK}/p1 From 8c7118f0b26b7c3dc729130006b83be52fbbc51d Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Mon, 11 Jul 2022 19:39:35 +0900 Subject: [PATCH 3/3] Append a suffix by the tag Conflicting tag name is now invalid --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index caf8fcb..6aef650 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.release_name.outputs.name }} + tag_name: ${{ steps.release_name.outputs.name }}-tag release_name: ${{ steps.release_name.outputs.name }} body_path: CHANGES.md draft: false