summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede_common.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-25reproducible_lede: add missing cd source in node_document_environmentAlexander Couzens1-1/+2
Fixes empty contents of - `Target toolchains built`, - `build_dir/host/` - `Downloaded software` Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-25reproducible_lede: collect the last git commitAlexander Couzens1-0/+9
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-19reproducible_{openwrt,lede}: move toolchain.html creation to remote nodeAlexander Couzens1-0/+32
There is no sense in creating the toolchain part on the jenkins master. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-13Revert "reproducible_lede: disable node_cleanup_tmpdirs"Alexander Couzens1-1/+0
This reverts commit 8ba28f306a5efb45a567998fbc13165cebecbaa2. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-13reproducible_lede: build all base packagesAlexander Couzens1-4/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-13reproducible_lede: add " around values of KERNEL_BUILD_USER + ↵Alexander Couzens1-2/+2
KERNEL_BUILD_DOMAIN Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-13reproducible_lede: set KERNEL_BUILD_USER + KERNEL_BUILD_DOMAINAlexander Couzens1-0/+2
If unset lede will use the buildtime user + hostname Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-10reproducible_lede: disable node_cleanup_tmpdirsAlexander Couzens1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-09reproducible_lede: openwrt_get_banner() use staging_dir instead of build_dirAlexander Couzens1-2/+1
The build_dir is now cleaned up after a package is built. Use the staging_dir instead which is more "presistent". Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-09reproducible_lede: create a workaround for signing keysAlexander Couzens1-0/+34
LEDE signs the release with a signing key, but generate the signing key if not present. To have a reproducible release we need to take care of signing keys. LEDE will also put the key-build.pub into the resulting image (pkg: base-files)! At the end of the build it will use the key-build to sign the Packages repo list. Use a workaround this problem: key-build.pub contains the pubkey of LEDE buildbot key-build contains our build key Meaning only signed files will be different but not the images. Packages.sig is unreproducible. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-09reproducible_lede_common: don't build all packagesAlexander Couzens1-1/+2
improves our development speed for now. We will re-enable it to get cover more packages and targets Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-09reproducible_lede: set CONFIG_AUTOREMOVE to reduce required spaceAlexander Couzens1-0/+1
When CONFIG_AUTOREMOVE is set, LEDE will remove the build_dir of a package after it has been build. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-08reproducible_lede: before download compile tarAlexander Couzens1-1/+1
On system without `tar --sort=name` we need to compile tar before downloading everything Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-07reproducible_lede: build everythingAlexander Couzens1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-30reproducible LEDE/OpenWrt: cut off debug-noise from project banner fileHolger Levsen1-0/+6
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-30reproducible LEDE: no debugHolger Levsen1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-28reproducible/openwrt|lede: retry downloads 5 timesAlexander Couzens1-1/+10
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-28reproducible/openwrt|lede: renable clean-up of $TMPDIRAlexander Couzens1-9/+6
2017-04-27reproducible lede+openwrt: also notify lynxis via ircHolger Levsen1-1/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-27reproducible lede+openwrt: disable cleanup to make lynsis happyHolger Levsen1-7/+7
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-03-03reproducible lede+openwrt: reenable node cleanup after buildHolger Levsen1-8/+8
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-24reproducible_lede_common: enable logging while downloadingAlexander Couzens1-1/+1
try to find the ftbfs reason. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-24reproducible_lede_common: simplify openwrt_compile()Alexander Couzens1-6/+1
we dont need to ignore certains failures because of IGNORE_ERROS=ym Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-15reproducible openwrt/lede: not cleaning up nodes tmpdirsAlexander Couzens1-7/+8
helps debugging Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible OpenWrt/LEDE: rename common.sh to lede_common.sh to reflect ↵Holger Levsen1-0/+355
their realities & update my copyright years on this code