Skip to content

Commit

Permalink
Merge pull request #111 from bargees/buildroot-2022.05
Browse files Browse the repository at this point in the history
Buildroot 2022.05
  • Loading branch information
ailispaw authored Jun 7, 2022
2 parents 12375b0 + 69d593a commit 3308a51
Show file tree
Hide file tree
Showing 23 changed files with 1,265 additions and 2,373 deletions.
20 changes: 12 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ENV SRC_DIR=/build \
BR_ROOT=/build/buildroot
RUN mkdir -p ${SRC_DIR} ${OVERLAY}

ENV BR_VERSION 2019.08
RUN wget -qO- https://buildroot.org/downloads/buildroot-${BR_VERSION}.tar.bz2 | tar xj && \
ENV BR_VERSION 2022.05
RUN wget -qO- https://buildroot.org/downloads/buildroot-${BR_VERSION}.tar.xz | tar xJ && \
mv buildroot-${BR_VERSION} ${BR_ROOT}

# Apply patches
Expand All @@ -45,17 +45,22 @@ RUN mkdir -p usr/share/bash-completion/completions && \
wget -qO usr/share/bash-completion/bash_completion https://raw.githubusercontent.com/scop/bash-completion/master/bash_completion && \
chmod +x usr/share/bash-completion/bash_completion

# Add Docker bash-completion
# Add Docker
ENV DOCKER_VERSION 1.10.3
ENV DOCKER_REVISION barge.2
RUN mkdir -p usr/bin && \
wget -qO- https://github.com/bargees/moby/releases/download/v${DOCKER_VERSION}-${DOCKER_REVISION}/docker-${DOCKER_VERSION}-${DOCKER_REVISION}.tar.xz | tar xJ -C usr/bin

# Add Docker bash-completion
RUN wget -qO usr/share/bash-completion/completions/docker https://raw.githubusercontent.com/moby/moby/v${DOCKER_VERSION}/contrib/completion/bash/docker

# Add dumb-init
ENV DINIT_VERSION 1.2.2
ENV DINIT_VERSION 1.2.5
RUN mkdir -p usr/bin && \
wget -qO usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DINIT_VERSION}/dumb-init_${DINIT_VERSION}_amd64 && \
wget -qO usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DINIT_VERSION}/dumb-init_${DINIT_VERSION}_x86_64 && \
chmod +x usr/bin/dumb-init

ENV VERSION 2.14.0-rc2
ENV VERSION 2.15.0-rc2
RUN mkdir -p etc && \
echo "Welcome to Barge ${VERSION}, Docker version ${DOCKER_VERSION}" > etc/motd && \
echo "NAME=\"Barge\"" > etc/os-release && \
Expand All @@ -68,8 +73,7 @@ RUN mkdir -p etc && \
echo "BUG_REPORT_URL=\"https://github.com/bargees/barge-os/issues\"" >> etc/os-release

# Add Package Installer
RUN mkdir -p usr/bin && \
wget -qO usr/bin/pkg https://raw.githubusercontent.com/bargees/barge-pkg/master/pkg && \
RUN wget -qO usr/bin/pkg https://raw.githubusercontent.com/bargees/barge-pkg/master/pkg && \
chmod +x usr/bin/pkg

# Copy config files
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
KERNEL_VERSION := 4.14.125
BUSYBOX_VERSION := 1.31.0
KERNEL_VERSION := 4.14.282
BUSYBOX_VERSION := 1.35.0

OUTPUTS := output/rootfs.tar.xz output/bzImage output/barge.iso output/barge.img

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It's inspired by the following projects.
- [DhyveOS](https://github.com/nlf/dhyve-os)

## Features
- Built with Buildroot 2019.08 with Linux kernel v4.14.125 and glibc.
- Built with Buildroot 2022.05 with Linux kernel v4.14.282 and glibc.
- Strip down the Linux kernel modules and drivers
- Busybox + the following utilities from Buildroot
- sudo, bash, wget, xz, sntp, logrotate
Expand Down Expand Up @@ -55,7 +55,7 @@ It's inspired by the following projects.

## License

Copyright (c) 2015-2019 A.I. <[email protected]>
Copyright (c) 2015-2022 A.I. <[email protected]>

Licensed under the GNU General Public License, version 2 (GPL-2.0)
http://opensource.org/licenses/GPL-2.0
Expand Down
Loading

0 comments on commit 3308a51

Please sign in to comment.