126 Commits

Author SHA1 Message Date
Douglas Teles
c542304146 New architecture release 2026-03-18 17:32:41 -03:00
ROCKNIX Team
f6010e7b77 scripts: add modifications for ROCKNIX 2025-07-13 19:02:39 +01:00
CvH
58ebc091cf cleanup scripts: scripts/ 2024-07-06 13:09:20 +02:00
Ian Leonard
c81efe884a scripts/unpack: remove use of dirname and basename
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:50 +00:00
Ian Leonard
9326345a6e scripts/unpack: minor cleanup
Eliminate use of cat and subshells in patching.

The previous code takes the first field of PKG_BUILD, using a space
as the delimiter. PKG_BUILD used to be generated using 'ls' at least
as of before commit ef8e871d3c in 2013.

Today, PKG_BUILD is a set path, without spaces.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:49 +00:00
Alex Bee
f88d19b575 buildsystem: introduce $TARGET_KERNEL_PATCH_ARCH 2021-06-11 18:06:58 +02:00
Peter
31a7bc75d6 unpack: prevent circular unpacking between two packages
In case two packages has dependency on each other unpacking fails because unpack script goes to loop and eats all the computer resources. With this change unpack fails on third pass.
Probably this functionality could be done better but atm I don't have better idea.

unpack recursive limit hit [package1, package2]
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${p}" "${PARENT_PKG}"
**************************************
*********** FAILED COMMAND ***********
${SCRIPTS}/unpack "${PKG_NAME}" "${PARENT_PKG}"
**************************************
2020-07-11 19:26:09 +02:00
MilhouseVH
a1e700fd87 buildsystem: log pkg_call that failed 2020-02-19 07:49:35 +00:00
Andre Heider
e1ec1c7a5d unpack: don't wipe build stamps
That's the job of the clean script, don't force a rebuild after
build & autoremove & unpack
2020-02-10 08:53:39 +01:00
Andre Heider
8e4663912a build: move install dirs out of the build dir
Instead of cluttering $BUILD we now have
- $BUILD/build         sources and builds of packages
- $BUILD/install_pkg   installed packages
- $BUILD/install_init  installed packages for initramfs
2019-12-31 11:26:49 +01:00
MilhouseVH
6fdbbd8796 scripts/unpack: always download missing tarballs - fixes PKG_DEPENDS_UNPACK 2019-07-09 00:05:25 +01:00
MilhouseVH
5c4018a981 scripts/unpack: ensure PKG_BUILD is unpack dir for all unpack functions
The unpack folder will be a temporary (isolated) unpack folder for
pre_unpack() and unpack(), but by the time of post_unpack() the folder will
have been moved into the main ${BUILD} "public" folder.

This change ensures that PKG_BUILD always references the correct folder at all times.
2019-07-09 00:05:24 +01:00
MilhouseVH
8ce2979b33 buildsystem: perform unpack when custom function provided 2019-07-09 00:05:24 +01:00
MilhouseVH
95c56a6392 scripts/unpack: avoid sub-process during custom unpack() 2019-07-09 00:05:24 +01:00
MilhouseVH
d376a63b49 buildsystem: support absolute paths in PKG_PATCH_DIRS 2019-07-09 00:05:21 +01:00
MilhouseVH
d431710678 buildsystem: scripts/unpack becomes ACTIVE after clean 2019-06-29 11:07:51 +01:00
MilhouseVH
3facec5d91 buildsystem: unpack should recursively unpack, not build 2019-06-29 11:06:42 +01:00
MilhouseVH
db3f6934d7 buildsystem: fix scripts/unpack after #3570 2019-06-24 10:03:56 +01:00
MilhouseVH
90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
MilhouseVH
368a9feaf8 buildsystem: don't allow unpack folder to become visible until tagged 2019-05-25 00:30:19 +01:00
MilhouseVH
3f3395fdf4 buildsystem: switch rm -fr to rm -rf for consistency/OCD 2019-02-22 20:11:50 +00:00
MilhouseVH
ab67ec7ccc scripts/unpack: fix issue unpacking libhybris 2019-02-13 15:10:54 +00:00
MilhouseVH
cc9dfe5875 scripts/unpack: common directory unpacking is not thread-safe
emby and emby4 both unzip into ${BUILD}/system, which is fun when
both add-ons are being unpacked concurrently.
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
MilhouseVH
0661263dd8 buildsystem: restore set -e fail-on-error behaviour 2019-01-24 19:17:39 +00:00