Merge pull request #123 from infosiftr/buildroot-2021.11

Update Buildroot to 2021.11
This commit is contained in:
Tianon Gravi 2021-12-06 11:25:49 -08:00 committed by GitHub
commit 378989b1e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 35 additions and 35 deletions

View File

@ -59,16 +59,16 @@ RUN gpg --batch --keyserver keyserver.ubuntu.com --recv-keys AB07D806D2CE741FB88
ENV BUILDROOT_VERSION {{ .buildroot.version }}
RUN set -eux; \
tarball="buildroot-${BUILDROOT_VERSION}.tar.bz2"; \
curl -fL -o buildroot.tar.bz2 "https://buildroot.org/downloads/$tarball"; \
curl -fL -o buildroot.tar.bz2.sign "https://buildroot.org/downloads/$tarball.sign"; \
gpg --batch --decrypt --output buildroot.tar.bz2.txt buildroot.tar.bz2.sign; \
awk '$1 == "SHA1:" && $2 ~ /^[0-9a-f]+$/ && $3 == "'"$tarball"'" { print $2, "*buildroot.tar.bz2" }' buildroot.tar.bz2.txt > buildroot.tar.bz2.sha1; \
test -s buildroot.tar.bz2.sha1; \
sha1sum -c buildroot.tar.bz2.sha1; \
tarball="buildroot-${BUILDROOT_VERSION}.tar.xz"; \
curl -fL -o buildroot.tar.xz "https://buildroot.org/downloads/$tarball"; \
curl -fL -o buildroot.tar.xz.sign "https://buildroot.org/downloads/$tarball.sign"; \
gpg --batch --decrypt --output buildroot.tar.xz.txt buildroot.tar.xz.sign; \
awk '$1 == "SHA1:" && $2 ~ /^[0-9a-f]+$/ && $3 == "'"$tarball"'" { print $2, "*buildroot.tar.xz" }' buildroot.tar.xz.txt > buildroot.tar.xz.sha1; \
test -s buildroot.tar.xz.sha1; \
sha1sum -c buildroot.tar.xz.sha1; \
mkdir -p /usr/src/buildroot; \
tar -xf buildroot.tar.bz2 -C /usr/src/buildroot --strip-components 1; \
rm buildroot.tar.bz2*
tar -xf buildroot.tar.xz -C /usr/src/buildroot --strip-components 1; \
rm buildroot.tar.xz*
RUN set -eux; \
\

View File

@ -131,7 +131,7 @@ RUN set -eux; \
# install a few extra files from buildroot (/etc/passwd, etc)
RUN set -eux; \
buildrootVersion='2021.08.2'; \
buildrootVersion='2021.11'; \
for file in \
system/device_table.txt \
system/skeleton/etc/group \

View File

@ -111,7 +111,7 @@ RUN set -eux; \
# install a few extra files from buildroot (/etc/passwd, etc)
RUN set -eux; \
buildrootVersion='2021.08.2'; \
buildrootVersion='2021.11'; \
for file in \
system/device_table.txt \
system/skeleton/etc/group \

View File

@ -43,19 +43,19 @@ RUN gpg --batch --keyserver keyserver.ubuntu.com --recv-keys AB07D806D2CE741FB88
# https://buildroot.org/download.html
# https://buildroot.org/downloads/?C=M;O=D
ENV BUILDROOT_VERSION 2021.08.2
ENV BUILDROOT_VERSION 2021.11
RUN set -eux; \
tarball="buildroot-${BUILDROOT_VERSION}.tar.bz2"; \
curl -fL -o buildroot.tar.bz2 "https://buildroot.org/downloads/$tarball"; \
curl -fL -o buildroot.tar.bz2.sign "https://buildroot.org/downloads/$tarball.sign"; \
gpg --batch --decrypt --output buildroot.tar.bz2.txt buildroot.tar.bz2.sign; \
awk '$1 == "SHA1:" && $2 ~ /^[0-9a-f]+$/ && $3 == "'"$tarball"'" { print $2, "*buildroot.tar.bz2" }' buildroot.tar.bz2.txt > buildroot.tar.bz2.sha1; \
test -s buildroot.tar.bz2.sha1; \
sha1sum -c buildroot.tar.bz2.sha1; \
tarball="buildroot-${BUILDROOT_VERSION}.tar.xz"; \
curl -fL -o buildroot.tar.xz "https://buildroot.org/downloads/$tarball"; \
curl -fL -o buildroot.tar.xz.sign "https://buildroot.org/downloads/$tarball.sign"; \
gpg --batch --decrypt --output buildroot.tar.xz.txt buildroot.tar.xz.sign; \
awk '$1 == "SHA1:" && $2 ~ /^[0-9a-f]+$/ && $3 == "'"$tarball"'" { print $2, "*buildroot.tar.xz" }' buildroot.tar.xz.txt > buildroot.tar.xz.sha1; \
test -s buildroot.tar.xz.sha1; \
sha1sum -c buildroot.tar.xz.sha1; \
mkdir -p /usr/src/buildroot; \
tar -xf buildroot.tar.bz2 -C /usr/src/buildroot --strip-components 1; \
rm buildroot.tar.bz2*
tar -xf buildroot.tar.xz -C /usr/src/buildroot --strip-components 1; \
rm buildroot.tar.xz*
RUN set -eux; \
\

View File

@ -139,7 +139,7 @@ RUN set -eux; \
# install a few extra files from buildroot (/etc/passwd, etc)
RUN set -eux; \
buildrootVersion='2021.08.2'; \
buildrootVersion='2021.11'; \
for file in \
system/device_table.txt \
system/skeleton/etc/group \

View File

@ -119,7 +119,7 @@ RUN set -eux; \
# install a few extra files from buildroot (/etc/passwd, etc)
RUN set -eux; \
buildrootVersion='2021.08.2'; \
buildrootVersion='2021.11'; \
for file in \
system/device_table.txt \
system/skeleton/etc/group \

View File

@ -43,19 +43,19 @@ RUN gpg --batch --keyserver keyserver.ubuntu.com --recv-keys AB07D806D2CE741FB88
# https://buildroot.org/download.html
# https://buildroot.org/downloads/?C=M;O=D
ENV BUILDROOT_VERSION 2021.08.2
ENV BUILDROOT_VERSION 2021.11
RUN set -eux; \
tarball="buildroot-${BUILDROOT_VERSION}.tar.bz2"; \
curl -fL -o buildroot.tar.bz2 "https://buildroot.org/downloads/$tarball"; \
curl -fL -o buildroot.tar.bz2.sign "https://buildroot.org/downloads/$tarball.sign"; \
gpg --batch --decrypt --output buildroot.tar.bz2.txt buildroot.tar.bz2.sign; \
awk '$1 == "SHA1:" && $2 ~ /^[0-9a-f]+$/ && $3 == "'"$tarball"'" { print $2, "*buildroot.tar.bz2" }' buildroot.tar.bz2.txt > buildroot.tar.bz2.sha1; \
test -s buildroot.tar.bz2.sha1; \
sha1sum -c buildroot.tar.bz2.sha1; \
tarball="buildroot-${BUILDROOT_VERSION}.tar.xz"; \
curl -fL -o buildroot.tar.xz "https://buildroot.org/downloads/$tarball"; \
curl -fL -o buildroot.tar.xz.sign "https://buildroot.org/downloads/$tarball.sign"; \
gpg --batch --decrypt --output buildroot.tar.xz.txt buildroot.tar.xz.sign; \
awk '$1 == "SHA1:" && $2 ~ /^[0-9a-f]+$/ && $3 == "'"$tarball"'" { print $2, "*buildroot.tar.xz" }' buildroot.tar.xz.txt > buildroot.tar.xz.sha1; \
test -s buildroot.tar.xz.sha1; \
sha1sum -c buildroot.tar.xz.sha1; \
mkdir -p /usr/src/buildroot; \
tar -xf buildroot.tar.bz2 -C /usr/src/buildroot --strip-components 1; \
rm buildroot.tar.bz2*
tar -xf buildroot.tar.xz -C /usr/src/buildroot --strip-components 1; \
rm buildroot.tar.xz*
RUN set -eux; \
\

View File

@ -1,7 +1,7 @@
{
"stable": {
"buildroot": {
"version": "2021.08.2"
"version": "2021.11"
},
"sha256": "415fbd89e5344c96acf449d94a6f956dbed62e18e835fc83e064db33a34bd549",
"variants": [
@ -13,7 +13,7 @@
},
"unstable": {
"buildroot": {
"version": "2021.08.2"
"version": "2021.11"
},
"sha256": "ec8d1615edb045b83b81966604759c4d4ac921434ab4011da604f629c06074ce",
"variants": [