314 Commits

Author SHA1 Message Date
Alex Bee
a16a1a3cf8 scripts/image: add --remove-destination when copying filesystem
This is required to override symlinks which might exist there already.
2023-02-11 09:22:33 +01:00
Matthias Reichl
156a3f2614 scripts/image: support multiple distroconfig files
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Ian Leonard
3c999938ed scripts: suppress qa_check error message when no issues present
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-08-15 06:06:33 +00:00
Rudi Heitbaum
44d5686e0d scripts/image: cleanup ORIGIN_URL 2022-07-21 12:00:49 +00:00
Lukas Rusak
3fa587eb52
add ability to log qa checks 2022-06-28 15:24:22 -07:00
Ian Leonard
41d833c2aa scripts/image: include adjustments to cflags made by toolchain setup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-02-19 07:30:16 +00:00
Tomáš Kelemen (vudiq)
38d1939f4e install2emmc: use SYSTEM_SIZE and DISTRONAME in script
Script uses arbitrary values for FAT32 partition and name of the
distribution. Using placeholders in the script and replacing them at
build time offers flexibility, i.e. no need to change arbitrary values
in script when SYSTEM_SIZE is changed.
2021-10-15 22:02:15 +02:00
Ian Leonard
3936c9e5ab scripts/image: reduce use of basename
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:50 +00:00
Portisch
7e418be01c config|scripts: keep source more generic 2021-01-26 16:26:56 +01:00
Matthias Reichl
8065dff7d3 scripts/image: drop dt-blob.bin handling
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 21:01:39 +02:00
Ian Leonard
d6622d5b94 image: zstd: use compression level 19 by default
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-07 19:52:02 +00:00
Christian Hewitt
44a6266465
Merge pull request #4103 from Kwiboo/mkimage-box
scripts/mkimage: only configure extlinux for valid uboot_helper dtb
2020-01-31 10:55:35 +03:00
Matthias Reichl
80f1b14da0
Merge pull request #4092 from MilhouseVH/le10_generator
buildsystem: switch to dynamic scheduler
2020-01-21 00:13:51 +01:00
MilhouseVH
ecbbddd3d6 scripts/image: send all u-boot output to stdout 2020-01-18 09:29:38 +00:00
Jonas Karlman
3f06a76a4e scripts: remove UBOOT_VERSION 2020-01-12 21:19:58 +00:00
Matthias Reichl
dad3581441 kernel-overlays: move volatile runtime data to /run
Create the module and firmware symlink trees in /run/kernel-overlays
instead of /var/lib as recommended by FHS 3.0. This also allows us
to drop the After=var.mount ordering in the systemd service.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-10 12:03:23 +01:00
MilhouseVH
e48447f305 config/multithread: dump stats after a build 2019-12-31 13:50:00 +00:00
Andre Heider
61af0490ef image: don't fish out kernel files out of its build dir
Install the files required by $SCRIPTS/image to a hidden directory. That
way, the files won't get copied to the system filesystem, but the script
can access them without requiring access to the build directory,
2019-12-31 11:26:49 +01:00
MilhouseVH
9a97f1b8ae Revert "scripts: image: BUILDER_NAME in image filename"
This reverts commit d55e191cdaf1e6e97e9b6185530d1a56e9e61e5f.
2019-09-13 17:02:42 +01:00
MilhouseVH
6dc483c169 Revert "Update scripts/image"
This reverts commit 3f77c14b606cbb3d1f03fbb19905e41b9f3dce3a.
2019-09-13 17:02:41 +01:00
sky42
3f77c14b60
Update scripts/image
Co-Authored-By: MilhouseVH <MilhouseVH@users.noreply.github.com>
2019-09-08 20:27:05 +02:00
sky42
d55e191cda scripts: image: BUILDER_NAME in image filename 2019-09-06 06:50:12 +02:00
CvH
6d67cfcbb9
Merge pull request #3745 from MilhouseVH/le10_buildsystem_fixup2
buildsystem: minor fixups
2019-08-17 10:18:15 +02:00
MilhouseVH
54804c7e15 save_build_config: centralise 2019-08-15 20:51:34 +01:00
MilhouseVH
5666d4825d image: log board details prior to install 2019-08-13 11:30:23 +01:00
MilhouseVH
7ba6d1048c image: validate UBOOT_SYSTEM 2019-08-13 11:30:23 +01:00
Matthias Reichl
f4fdfefbed scripts/image: drop /sbin from PATH
All programs needed for image creation are available in toolchain.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-16 20:20:37 +02:00
Matthias Reichl
81d8d58d7e scripts/image: only include hex version in noobs os.json if NOOBS_HEX is set
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Matthias Reichl
a28f2e7688 scripts/image: create NOOBS tarballs with fakeroot
Otherwise builder user ID will leak in and storage partition
will be owned by that instead of root and lots of services
will fail to start.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Matthias Reichl
0bf0cba705 scripts/image: copy config.txt and distroconfig.txt from INSTALL
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Matthias Reichl
1994c2be0d scripts/image: copy firmware from INSTALL
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
MilhouseVH
cd71230bdb buildsystem: image - use HERE docs 2019-06-17 01:48:35 +01:00
MilhouseVH
90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
MilhouseVH
b48622994b
Merge pull request #3212 from antonlacon/rpi-zstd-img
rpi: switch to zstd squashfs images
2019-05-10 00:43:43 +01:00
CvH
851f654777
Merge pull request #3458 from kszaq/drop_aml_3.14
Goodbye Amlogic 3.14
2019-05-04 07:22:11 +02:00
Ian Leonard
3b75089c97 scripts/image: zstd: use a 1MB blocksize by default
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-03 23:49:08 +00:00
Ian Leonard
1fcc9d3247 image: drop OPENELEC_ARCH from /etc/os-release
Also swaps the necessary variable check in busybox/init to acoomodate OPENELEC_ARCH
may or may not exist, while LIBREELEC_ARCH will be assumed to exist.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-03 23:11:24 +00:00
kszaq
9ad3fbe815 scripts, tools: drop amlpkg building 2019-05-04 00:01:55 +02:00
Jonas Karlman
e92b858d9e scripts/image: build an image for each UBOOT_SYSTEM 2019-05-01 16:27:07 +00:00
Jonas Karlman
0d2d9f8c29 scripts/image: use BUILD_NAME in mkimage 2019-05-01 16:27:04 +00:00
Jonas Karlman
41329e36e5 scripts/image: pass UUID_SYSTEM to mkimage 2019-05-01 16:27:02 +00:00
Jonas Karlman
a74435d4de scripts/image: extract function do_mkimage 2019-05-01 16:27:00 +00:00
MilhouseVH
956b10dd55 scripts/image: restore checkdeps call 2019-02-25 20:29:34 +00:00
MilhouseVH
9af18cf35e scripts/image: restore original licence/copyright and resolve debate 2019-02-13 15:10:54 +00:00
MilhouseVH
98c021069c buildsystem: make multithread the default (THREADCOUNT=100%) 2019-02-08 17:17:43 +00:00
MilhouseVH
d26e29c4d9 scripts: rename legacy image and create_addon scripts, new make targets 2019-02-08 17:17:43 +00:00
MilhouseVH
0ebc6fef63 build system: add parallel build support; use new "image" package 2019-02-08 17:17:43 +00:00
CvH
679966ca02 scripts/image: add OVA_SIZE variable 2019-01-25 19:24:53 +01:00
Christian Hewitt
52948b4403 image: add PROJECT to /etc/os-release 2018-12-24 07:44:16 +04:00
Ian Leonard
c055a512de scripts/image: fixup mediacenter test
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:35:43 +00:00