Commit Graph

1182 Commits

Author SHA1 Message Date
spycat88
6d19228fea checkdeps: add xmlstarlet 2025-11-02 00:32:01 +00:00
rocknix
06b1bfe7fc Restoer MD5s as it breaks upgrades 2025-10-29 21:57:59 +00:00
Philippe Simons
317f67e8b8 scripts: remove references to .md5 files 2025-10-28 19:57:59 +01:00
spycat88
03072e3792 scripts: don't create md5 files 2025-10-27 22:49:11 +00:00
spycat88
c44fa36fb6 projects: cleanup bootloader files 2025-10-27 21:03:42 +00:00
John Williams
29b56dad8f mkimage / fs-resize - mke2fs - ext4 usage type 2025-10-09 11:28:38 +11:00
spycat88
ff330f938f scripts/get_git: Add support for using GitHub tokens
You can define ROCKNIX_GHTOKEN in your ~/.rocknix/options file.
This is usefull if you are testing some development changes in a
private GitHub repo before pushing it to a public one.
This Token is sent in an additional Header only to GitHub.
Also this is restricted to packages that define PKG_USETOKEN=yes.
2025-10-04 17:18:47 +01:00
spycat88
c89ba19373 mkimage: fix booting from 2tb+ drives
mke2fs was using a default block size of 1kb, this caused 2tb+ drives
to fail initial resizing script with the following error.

resize2fs: New size results in too many block group descriptors.
2025-09-29 02:37:08 +00:00
rocknix
1857edec30 Bring back update-packages script 2025-09-07 14:11:33 +00:00
rocknix
2c6aa73553 Clean previous device release when doing a new build 2025-07-23 21:23:29 +00:00
ROCKNIX Team
f6010e7b77 scripts: add modifications for ROCKNIX 2025-07-13 19:02:39 +01:00
Christian Hewitt
3682e022df Merge pull request #10004 from heitbaum/buildfix
build: define CMAKE_EXPORT_COMPILE_COMMANDS as an environment variable not a define
2025-05-16 09:52:24 +04:00
Luz Paz
b2235ef5e0 treewide: fix typos 2025-05-11 18:04:57 -04: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
addfbf42b2 treewide: set DISTRO_HOME_URL from options
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
Christian Hewitt
51b1613d9e scripts: unbranding changes for image script
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Christian Hewitt
2bb6195b2d treewide: unbrand LIBREELEC_DEVICE to DISTRO_DEVICE
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Christian Hewitt
c76d6596cd treewide: unbrand LIBREELEC_PROJECT to DISTRO_PROJECT
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Christian Hewitt
1789798523 treewide: unbrand LIBREELEC_BUILD to DISTRO_BUILD
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Christian Hewitt
868b16b46e treewide: unbrand LIBREELEC_ARCH to DISTRO_ARCH
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Christian Hewitt
0cf465a345 treewide: unbrand LIBREELEC_VERSION to DISTRO_VERSION
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Rudi Heitbaum
8ceacbac6b build: define CMAKE_EXPORT_COMPILE_COMMANDS as an environment variable not a define.
When building utfcpp (and other packages) a CMake warning is issued.

    CMake Warning:
      Manually-specified variables were not used by the project:

        CMAKE_EXPORT_COMPILE_COMMANDS

Before this change the following files are present:

    $ cd build.LibreELEC-Generic.x86_64-13.0-devel/build

    $ find utfcpp-4.0.6 -name build.ninja
    utfcpp-4.0.6/.x86_64-libreelec-linux-gnu/build.ninja
    $ find utfcpp-4.0.6 -name compile_commands.json

    $ find soxr-0.1.3 -name build.ninja
    soxr-0.1.3/.x86_64-libreelec-linux-gnu/build.ninja
    $ find soxr-0.1.3 -name compile_commands.json
    soxr-0.1.3/.x86_64-libreelec-linux-gnu/compile_commands.json

When removing the define CMAKE_EXPORT_COMPILE_COMMANDS:

--- a/scripts/build
+++ b/scripts/build
@@ -147,8 +147,7 @@
   MESON_BUILD_TYPE="plain"
 fi

-CMAKE_GENERATOR_NINJA="-GNinja \
-                       -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
+CMAKE_GENERATOR_NINJA="-GNinja"

 # configure TARGET build defaults
 TARGET_CONFIGURE_OPTS="--host=${TARGET_NAME} \

The resulting build do not have the warning with utfcpp but the files
compile_commands.json are not created (as expected.)

    $ find utfcpp-4.0.6 -name build.ninja
    utfcpp-4.0.6/.x86_64-libreelec-linux-gnu/build.ninja
    $ find utfcpp-4.0.6 -name compile_commands.json

    $ find soxr-0.1.3 -name build.ninja
    soxr-0.1.3/.x86_64-libreelec-linux-gnu/build.ninja
    $ find soxr-0.1.3 -name compile_commands.json

With the change to declare CMAKE_EXPORT_COMPILE_COMMANDS as an environment
variable the warning is not preset with utfcpp and the compile_commands.json
are created, matching the current functionaility but without the warning.

Ref:
- https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html
  - This is initialized by the CMAKE_EXPORT_COMPILE_COMMANDS environment variable.
- https://cmake.org/cmake/help/latest/envvar/CMAKE_EXPORT_COMPILE_COMMANDS.html#envvar:CMAKE_EXPORT_COMPILE_COMMANDS
- https://stackoverflow.com/questions/20059670/how-to-use-cmake-export-compile-commands
2025-04-25 11:07:51 +00:00
Matthias Reichl
17d310e60a Revert "buildsystem: use distribution defined addon install path"
This reverts commit 31dfa27800.
2025-02-08 00:34:21 +01:00
luzpaz
91a4766cef treewide: fix typos
Found via `codespell -q 3 -S "*.patch,*.po" -L acount,afile,distroname,parm,serie,synopsys`
2025-02-03 07:04:59 -05:00