Skip to content

Commit

Permalink
Fixed the input image size of makeflash.sh
Browse files Browse the repository at this point in the history
- When we create live and installer image with the latest version
of master, we create it with less size than necessary. There was
a previous commit that increased the rootfs image size, which
required also the correspoding change in the Makefile.

Signed-off-by: Ioannis Sfakianakis <jsfakas@gmail.com>
  • Loading branch information
jsfakian committed Jun 22, 2023
1 parent 9968f53 commit 806a3f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -727,12 +727,12 @@ publish_sources: $(COLLECTED_SOURCES)

$(LIVE).raw: $(BOOT_PART) $(EFI_PART) $(ROOTFS_IMG) $(CONFIG_IMG) $(PERSIST_IMG) $(BSP_IMX_PART) | $(INSTALLER)
./tools/prepare-platform.sh "$(PLATFORM)" "$(BUILD_DIR)" "$(INSTALLER)" || :
./tools/makeflash.sh -C 350 $| $@ $(PART_SPEC)
./tools/makeflash.sh -C 559 $| $@ $(PART_SPEC)
$(QUIET): $@: Succeeded

$(INSTALLER).raw: $(BOOT_PART) $(EFI_PART) $(ROOTFS_IMG) $(INITRD_IMG) $(INSTALLER_IMG) $(CONFIG_IMG) $(PERSIST_IMG) $(BSP_IMX_PART) | $(INSTALLER)
./tools/prepare-platform.sh "$(PLATFORM)" "$(BUILD_DIR)" "$(INSTALLER)" || :
./tools/makeflash.sh -C 350 $| $@ "conf_win installer inventory_win"
./tools/makeflash.sh -C 592 $| $@ "conf_win installer inventory_win"
$(QUIET): $@: Succeeded

$(INSTALLER).iso: $(EFI_PART) $(ROOTFS_IMG) $(INITRD_IMG) $(INSTALLER_IMG) $(CONFIG_IMG) $(PERSIST_IMG) | $(INSTALLER)
Expand Down
2 changes: 1 addition & 1 deletion pkg/mkimage-raw-efi/make-raw
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ CONF_PART_SIZE=$((1024 * 1024))
# installer inventory partition size in bytes
WIN_INVENTORY_PART_SIZE=$((40240 * 1024))
# installer system partition size in bytes
INSTALLER_SYS_PART_SIZE=$(( 300 * 1024 * 1024 ))
INSTALLER_SYS_PART_SIZE=$(( 532 * 1024 * 1024 ))
# imx8 boot blob size in bytes
IMX8_BLOB_SIZE=$(( 8 * 1024 * 1024 ))
# sector where the first partition starts on a blank disk
Expand Down

0 comments on commit 806a3f1

Please sign in to comment.