Commit Graph

926 Commits

Author SHA1 Message Date
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
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
Christian Hewitt
67a5bc8ff3 Merge pull request #3661 from MilhouseVH/le10_abs_patch_dir
buildsystem: add absolute patch dirs, remove unecessary sub-process, other cleanup
2019-07-11 06:23:30 +01:00
Lukas Rusak
40243635ee scripts/uboot_helper: add NXP/iMX6 2019-07-10 15:37:46 -07:00
Lukas Rusak
ecd04e5a6f uboot_helper: add dragonboard 410c 2019-07-10 15:14:45 -07:00
Jonas Karlman
32e0b2c62d Merge pull request #3669 from lrusak/u-boot-helper-formatting
scripts/uboot_helper: add formatting to the python object
2019-07-10 23:02:59 +02:00
Matthias Reichl
db1ba01960 Merge pull request #3646 from MilhouseVH/le10_fix_symlink_fixups
buildsystem: fix symbolic link fixups
2019-07-10 21:39:38 +02:00
MilhouseVH
5895dc069f buildsystem: add GETPKG history event 2019-07-09 00:05:25 +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
Lukas Rusak
34a4515f06 scripts/uboot_helper: add formatting to the python object
sort printed output
use dashes instead of underscores for board names
sort alphabetically
2019-07-08 11:59:37 -07:00
Mark Schmale
3f9fa1df56 adding a few dependencies for arch, fedora and gentoo
- perls XML::Parser package is call perl-XML-Parser in fedora
   Uppercase P according to my local install and https://apps.fedoraproject.org/packages/perl-XML-Parser.
 - fedora (and maybe gentoo) need perls Thread::Queue since its not provided by the default packages. In gentoo its a virutal package, so its certainly provided already but depending on it should not cause any problems
 - rpcgen is required by samba and not provided by all current glibc packages
 - add perl as a generic dependency for distris that bundle Thread::Queue in the central perl package ot balance out the dep-list
2019-07-06 15:23:44 +02:00
MilhouseVH
622c11872d buildsystem: fix /usr targets 2019-07-04 20:18:03 +01:00
MilhouseVH
7ccb58b507 buildsystem: don't dereference LINK_NAME when fixing up sym links 2019-07-03 23:18:28 +01: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
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
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