834 Commits

Author SHA1 Message Date
MilhouseVH
5c04dc5f24
Merge pull request #3183 from chewitt/os-release
image: add PROJECT to /etc/os-release
2018-12-30 04:25:06 +00:00
Christian Hewitt
52948b4403 image: add PROJECT to /etc/os-release 2018-12-24 07:44:16 +04:00
MilhouseVH
b1a960bf8f scripts/unpack: stop sourcing package, reorg code 2018-12-18 03:43:28 +00:00
MilhouseVH
fca1adc412 scripts/install: stop sourcing package, reorg code 2018-12-18 03:43:28 +00:00
MilhouseVH
a71c01f53a scripts/build: stop sourcing package, reorg code 2018-12-18 03:43:28 +00:00
MilhouseVH
3af5245e11 scripts/uninstall: remove, outdated 2018-12-18 03:43:28 +00:00
Jonas Karlman
83470fe786 RK3399: add khadas-edge 2018-12-17 07:44:40 +01:00
MilhouseVH
aaa8c7e493 scripts/create_addon: use pkg_call 2018-11-29 01:09:20 +00:00
MilhouseVH
b5be90e394 scripts/install: use pkg_call 2018-11-29 01:09:20 +00:00
MilhouseVH
d0d28ee0a7 scripts/unpack: use pkg_call 2018-11-29 01:09:20 +00:00
MilhouseVH
9959b29df9 scripts/build: use pkg_call 2018-11-29 01:09:20 +00:00
CvH
aa5070c9c3 scripts/create_addon: fix typo of official 2018-11-26 12:54:17 +01:00
Ian Leonard
04556e8036 scripts/mkimage: die is unknown; exit 1
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-22 21:42:59 +00:00
MilhouseVH
4b0a3215db scripts/build: fix invalid color 2018-11-21 18:58:29 +00:00
Ian Leonard
4ec394b3e3 scripts/install: convert to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
77e3629f63 scripts/create_addon: convert to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
5963b74670 scripts/build: convert to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
b45ba9f596 scripts/get_git: convert to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
868066a6ce scripts/get_file: conversion to build_msg
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
31256d715c scripts/clean: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
dfb1ae0d3e scripts/autoreconf: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
c1471c1ffd scripts/unpack: convert to printf helper
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
Ian Leonard
4c1c2e0066 scripts/get_archive: convert to build message helpers
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-21 18:58:29 +00:00
vpeter4
1edd8b4724 scripts/mkimage: show message when temp folder is full
If temporary folder is full error message can't be saved and shown to the user which doesn't know what the problem actually is. In this case file is empty and show other message.
2018-11-21 14:24:17 +01:00
MilhouseVH
8eb628e4f7 scripts/get_git: additional cleanup 2018-11-15 16:15:31 +00:00
MilhouseVH
33e1b1b1c0 scripts/get_git: fix a couple of errors 2018-11-15 16:15:22 +00:00
Ian Leonard
1c690c031a get: file lock changes
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-13 06:41:49 +00:00
Ian Leonard
a1f8630ddb scripts/get_file: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-13 06:41:49 +00:00
Ian Leonard
ff18980dd8 scripts/get_git: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-13 06:41:49 +00:00
Ian Leonard
843cf6fe13 scripts/get_archive: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-13 01:24:12 +00:00
Ian Leonard
b216c8d545 scripts/get: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-13 01:24:12 +00:00
Ian Leonard
0b524bc1a0 scripts/mkimage: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-13 01:24:12 +00:00
Ian Leonard
cc266bbf34 scripts/mkimage: indent
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-13 01:23:14 +00:00
MilhouseVH
1226636b2a
Merge pull request #3078 from antonlacon/buildsystem-to-merge2
buildsystem: unpacking / extracting cleanup
2018-11-04 19:48:18 +00:00
Ian Leonard
59b2228fcd buildsystem: replace printf with echo where able
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 05:40:46 +00:00
Ian Leonard
acca8326ce scripts/build: general cleanup
Add copyright
Convert to config/functions/die()
Make use of bash default value mechanic
Combine some if tests
Get PKG_BUILD quoted
Replace `` with $()

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 05:40:46 +00:00
Ian Leonard
eeb3f94648 scripts/extract: convert to die, PKG_BUILD comment
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 05:40:46 +00:00
Ian Leonard
c7c25abb6a scripts/unpack: general cleanup
Convert to config/functions/die()
Use PKG_BUILD and have it quoted
Replace `` with $()

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-11-04 05:40:46 +00: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
MilhouseVH
f4dff4ccc9
Merge pull request #3016 from antonlacon/housekeeping
Various: Scattered trivial cleanups
2018-10-17 18:53:03 +01:00
Christian Hewitt
27a4a4763b u-boot: only append suffix when creating multiple u-boot variants 2018-10-06 10:00:48 +04:00
Ian Leonard
ef93ecf54b scripts/checkdeps: cleanup
Replace "which" with "command -v", which is part of POSIX.

Make offering to install packages contingent on having the sudo command.
Not every distro uses sudo. It is optional in Gentoo, for example.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-05 15:03:54 +00:00
MilhouseVH
649960709e
Merge pull request #2992 from antonlacon/blocksize
scripts/image: use 256kb blocksize for squashfs images
2018-10-04 00:58:45 +01:00
MilhouseVH
f1afb0c4e3
Merge pull request #3003 from sky42src/le90_image_builder_name
scripts: image: show BUILDER_NAME in System Information and LE settings
2018-10-02 11:39:05 +01:00
sky42
1db81d6041 scripts: image: show BUILDER_NAME in System Information and LE settings 2018-10-02 12:20:02 +02:00
Lucian Muresan
2fc46de348 host distro support: added sabayon, quite straightforward, as a flavour of gentoo 2018-09-23 22:16:33 +02:00
CvH
211a5c29b9 scripts/get: fix previous commit 2018-09-23 11:58:12 +02:00
Ian Leonard
cd6287cc54 scripts/image: use custom blocksizes for squashfs images
Squashfs allows configuring a blocksize between 4KB and 1MB. The default is
128KB. Increasing blocksize, in general, increases compression efficiency
at a cost of increased access time. Using 256KB for a blocksize appears to be
a sweet spot balancing the two for gzip and zstd. Blocksize 512KB appears
right for lzo.

Gzip decreases by ~700KB.
Lzo decreases by ~1.25MB.
Zstd decreaes by ~2.5MB.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-09-22 21:28:01 +00:00
CvH
663a67a30e scripts/get: wget uses bar indicators 2018-09-17 19:30:11 +02:00
CvH
c4a861bc68 scripts/get: make hash output easier to copy 2018-09-13 14:15:44 +02:00