1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-16 16:37:10 +01:00
Commit graph

597 commits

Author SHA1 Message Date
3abda2762d Bring documentation somewhat up to date
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-24 15:56:17 +01:00
afd023802f cleanup: merge package download/build phases
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-18 23:28:05 +01:00
b2c4934145 Bump gcc version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 18:03:28 +01:00
5fb95add30 Bump binutils version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:35 +01:00
9e62e69969 Bump mpfr version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:34 +01:00
b8cf6afa52 Bump main line Linux version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:34 +01:00
374d9c3072 Bump musl version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:44:45 +01:00
7d9000260c Bump nginx version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:40:29 +01:00
746049b0a0 Bump busybox version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:37:14 +01:00
11762a1c75 Bump btrfs-progs version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:34:46 +01:00
d396468fba Bump dhcpcd version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:28:56 +01:00
f5bfcf2567 Bump iw version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:27:19 +01:00
353daaee5d Bump kmod version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:26:00 +01:00
2ed2152e29 Bump ntp version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:22:46 +01:00
bf628d2e31 Bump OpenSSL version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:17:57 +01:00
fbbca097f3 Bump pcre version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:09:30 +01:00
8510fbce52 Bump file verions
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:03:00 +01:00
c52ff65486 Bump tar version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:00:42 +01:00
50ec44af01 Bump unbound version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 22:57:48 +01:00
d35172b948 Fix check_update script
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 22:50:24 +01:00
34a1b2de68 Ignore errors if strip fails
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 19:13:02 +01:00
7496023d5f Use pkg tool for determining a build strategy
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 17:26:07 +01:00
509d1fdd4d Build pkg-utils during seperate "boot strap phase"
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 17:25:33 +01:00
ee56b08ffc fixup: also compress the prepare log after downloading
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 17:18:16 +01:00
b77f8892bb cleanup: move actual package build to helper function
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 17:15:58 +01:00
01256c6ab9 Bump pkg-utils version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 15:26:29 +01:00
31ca494ce8 cleanup: remove /usr/root setup from rootfs package
Add root home directory to basefiles, make every package that
touches /etc/skel also provide defaults for root home.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-07 20:15:08 +01:00
26a9b8002f Cleanup rootfs package
- move the skeleton setup stuff out of the rootfs package into a
   sperate package called "basefiles"
 - remove manual unpacking from rootfs, we already have all the dependencies
   installed in the toolchain sysroot.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-07 20:12:19 +01:00
93a0cb1ca5 cleanup: remove symlink creation and file deletion from package build
We already have a micro managed list of files we include in the packages.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-07 20:12:19 +01:00
dd643ca334 fix: overwrite compressed logfile if it already exists
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 21:22:03 +01:00
a9eb892920 cleanup: use package files instead of source package dotfiles
Try to build a source package if at least one binary package is missing. If
that is the case, clean up possibly built packages so we can cleanly recover
from a prior crash.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 21:19:31 +01:00
2184f4dae7 cleanup: make $BUILDROOT point to actual product output directory
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 16:12:08 +01:00
e497ba164c Cleanup directories before and after building a package
In case a package build fails, we can simply restart the build script without
having to do manual cleanup of the intermediate directories.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 10:03:41 +01:00
8fa44569d8 cleanup: remove deploy directory argument from package command
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 10:03:12 +01:00
b3529c8deb cleanup: remove unneeded parameter from deploy_dev_cleanup
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-05 20:05:26 +01:00
705290a2cb Compress log files after a package stage has completed
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-05 20:04:16 +01:00
2c741e06f3 Eliminate latent, per package deploy directory
Same process as for the build dir. We have one intermediate deploy directory
that the packaes installs it self to, then we package the contents, finally
we nuke the build and deploy directory before starting with the next package.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-05 15:09:34 +01:00
2afd8fc20b cleanup: remove manual output directory clensing from tc-gcc2
We explicitly list every file that should be packaged, no need to manually
go over the ones we don't want.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-05 15:03:22 +01:00
706d4ac29f Add missing /lib directory to Raspberry Pi 3 ldpath
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-04 23:02:05 +01:00
d552141850 Fix musl subarch for ARM
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
a0f4d41cfe fix strip_files: don't check filename against ELF
If we use "file ... | grep -i elf" to detect if a file is an ELF binary,
a file *named* elf will erroneously trigger it.

This commit adds a flag to disable printing of the file name.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
5ca8069d5b Explicitly tell gcc what assembler/linker to use
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
8a2d91a181 Make sure binutils ldscripts and binaries are packaged for toolchain
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
5307722cc2 Fix rpi3 build
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
88f6542fad Split libstdc++ into seperate package
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
bf23f1bdc7 Fix alix build
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
d7ae731c13 Split up unbound and util-linux into smaller packages
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
b556476d2f Move *.so symlinks to dev packages
We only need them for linking, no need to have them in the target filesystem.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
c8d01f966a Use pkgtool to resolve and manage dependencies, add sub package support
Been working on this for too long, don't remember the specifics, will add
documentation.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
a1d055c8e0 Add dummy package descriptions for toolchain packages
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00