Commit Graph

110 Commits

Author SHA1 Message Date
ROCKNIX Team
f6010e7b77 scripts: add modifications for ROCKNIX 2025-07-13 19:02:39 +01:00
Christian Hewitt
2525a6d73d Generic: unbrand ovf.template
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Christian Hewitt
fa90a43177 treewide: unbrand LE_TMP to IMG_TMP
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
CvH
58ebc091cf cleanup scripts: scripts/ 2024-07-06 13:09:20 +02:00
Matthias Reichl
a6ce06cb01 scripts/mkimage: create storage filesystem without orphan_file option
resize2fs creates a filesystem with unclean orphan file when resizing
to more than 32GB if the orphan_file option is enabled, resulting in
an unmountable storage partition after initial resize.

Explicitly disable the option until the issue is resolved.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-17 16:49:39 +01:00
Matthias Reichl
968f589b37 RPi: make bootloader files optional
RPi4 only needs start.elf/fixup.dat, RPi5 doesn't need any of them

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-29 11:00:16 +02:00
CvH
3f49a597e6 Merge pull request #7036 from antonlacon/le11-scripts
buildsystem: additions to show_config, related
2023-04-16 10:34:43 +02:00
Matthias Reichl
e63855bc0f scripts/mkimage: support multiple distroconfig files
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Ian Leonard
d417519f98 buildsystem: move STORAGE_SIZE to the general buildsystem
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-24 00:49:24 +00:00
Tomáš Kelemen (vudiq)
41b6c049ea mkimage: optimize disk image creation
In case SYSTEM_SIZE was higher than 1024, mcopy would fail without the
failure being caught. The failure was probably due to invalid geometry
(number of sectors per track too high?). However mformat should be able
to determine the geometry on its own, when no geometry parameters are
supplied. After discussion on IRC with vpeter we came to this solution.

* create temporary folder in the target folder
* use sparse files to create image and partitions
* no extractions of the partitions from image
* modify mcopy alias to copy to the partition sparse file
* add `-o` switch to mcopy alias, so mcopy does not prompt in case of
  existing file in the partition
* remove alias for mformat (is used only one time)
* catch errors for mformat/mcopy/mmd
* use mcopy alias when copying files to virtual appliance part1
* move DISK_LABEL setting closer to the part where it is used
* write MBR without test (it should be already present and if not, dd
  will fail anyway and error is caught)
* update output when vmdk is created

Co-authored-by: Peter <peter.vicman@gmail.com>
2021-11-23 21:28:46 +01:00
Ian Leonard
29a3baee03 scripts/mkimage: elminate use of basename
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:50 +00:00
Jernej Skrabec
bbd9f80240 mkimage: copy overlays for u-boot images 2021-01-21 22:19:07 +01:00
Matthias Reichl
bc4943e203 scripts/mkimage: drop dt-blob.bin handling
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 21:02:05 +02:00
Matthias Reichl
578b34eb1b scripts/mkimage: drop chowning image to SUDO_USER
This is a leftover from ancient times when mkimage had to be
run via sudo.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-13 10:32:39 +02:00
mglae
0c065dbdde mkimage: replace deprecated "tty" with "systemd.debug_shell" for Generic 2020-04-06 18:42:34 +02:00
Jonas Karlman
5045ba2274 scripts/mkimage: configure extlinux for valid uboot_helper dtb 2020-01-12 21:19:58 +00:00
chewitt
4228404417 mkimage: remove support for 'vendor' u-boot, we use 'box' now 2019-09-04 03:50:40 +00:00
Matthias Reichl
65beb0f276 scripts/mkimage: use fsck.fat to check FAT partition
fsck.fat is available in toolchain, so use that instead of fsck from
build host (which may not support checking FAT filesystems).

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-16 20:06:07 +02:00
MilhouseVH
9bb0b82aba scripts/mkimage: use pigz when compressing image 2019-06-26 20:04:08 +01:00
chewitt
fe8a92fc7e scripts/mkimage: force gzip to overwrite target/*.img.gz 2019-06-26 08:10:38 +04:00
CvH
4b0687558d Merge pull request #3573 from MilhouseVH/le10_installer_options
init: more informative syslinux boot message
2019-06-23 22:27:24 +02:00
MilhouseVH
3388460ac4 image: explain available options 2019-06-18 18:42:54 +01:00
MilhouseVH
ff3887ee11 init: more informative syslinux boot message 2019-06-18 03:16:04 +01:00
MilhouseVH
90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
Jonas Karlman
0d2d9f8c29 scripts/image: use BUILD_NAME in mkimage 2019-05-01 16:27:04 +00:00