Skip to content

Commit

Permalink
Setup Burmilla OS repo
Browse files Browse the repository at this point in the history
- GitHub action for create releases
- Rename to burmilla
- Sync using menu config
- Add initial support for MIPS64el based on ARM64 config
- Use buildroot version 2020.02.8
- Generated arm64 config based on aarch64_efi_defconfig
- Generated amd64 config based on pc_x86_64_efi_defconfig
- Tried to copy all needed kernel settings from old version
- Updated busybox config
  • Loading branch information
olljanat committed Dec 16, 2020
1 parent d6139b0 commit 5f04634
Show file tree
Hide file tree
Showing 9 changed files with 5,674 additions and 428 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: release

on:
workflow_dispatch:
inputs:
arch:
description: 'Architecture'
default: 'amd64'
required: true
version:
description: 'Version'
default: 'v2020.02.8-?'
required: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install github-release
run: |
wget -O - -o /dev/null https://github.com/github-release/github-release/releases/download/v0.9.0/linux-amd64-github-release.bz2 | bunzip2 | sudo tee /usr/local/bin/github-release
sudo chmod 0755 /usr/local/bin/github-release
- name: Build
run: |
ARCH=${{ github.event.inputs.arch }} RELEASE_VERSION=${{ github.event.inputs.version }} make release
- name: Publish release
run: ${PWD}/dist/publish.sh
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
/Dockerfile
*.swp
/.dapper
ci.log
/Dockerfile.dapper*
!/Dockerfile.dapper
11 changes: 7 additions & 4 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rancher/os-ubuntuconsole-base
# FROM amd64=ubuntu:16.04 arm64=aarch64/ubuntu:16.04
FROM ubuntu

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata && \
apt-get install -y build-essential wget libncurses5-dev unzip bc curl python rsync ccache vim less cpio texinfo locales git

RUN locale-gen en_US.UTF-8
Expand All @@ -13,16 +13,19 @@ ENV SHELL /bin/bash
ENV ARTIFACTS /usr/src
WORKDIR ${DAPPER_SOURCE}

ENV VERSION 2018.02.11-1
ENV VERSION 2020.02.8
ENV TARBALL ${VERSION}.tar.gz
RUN cd ${ARTIFACTS} && \
wget https://github.com/rancher/buildroot/archive/$TARBALL
wget https://github.com/buildroot/buildroot/archive/$TARBALL

ARG DAPPER_HOST_ARCH=amd64
ARG HOST_ARCH=${DAPPER_HOST_ARCH}
ARG ARCH=${HOST_ARCH}
ARG RELEASE_VERSION
ENV RELEASE_VERSION=${RELEASE_VERSION}
ENV ARCH=${ARCH}
ENV HOST_ARCH=${HOST_ARCH}
ENV FORCE_UNSAFE_CONFIGURE=1

ENTRYPOINT ["./scripts/entry"]
CMD ["ci"]
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# RancherOS Base System
# BurmillaOS Base System

This repo contains the Linux kernel and system programs for RancherOS. RancherOS is built from [buildroot](https://buildroot.org/).
This repo contains the Linux kernel and system programs for BurmillaOS. BurmillaOS is built from [buildroot](https://buildroot.org/).

## Building

You need Docker 1.5+

make

## Using a custom version of os-base in RancherOS
## Using a custom version of os-base in BurmillaOS

```
# Clone repos
git clone https://github.com/rancherio/os.git
git clone https://github.com/rancherio/os-base.git
git clone https://github.com/burmillaio/os.git
git clone https://github.com/burmillaio/os-base.git
# Build os-base
cd os-base
Expand All @@ -22,21 +22,23 @@ make
# Copy custom to a HTTP website so that you can download it
# cp dist/artifacts/os-base.tar.xz ...
# Build RancherOS
# Build BurmillaOS
cd ../os
# Update OS_BASE_URL_amd64 and OS_BASE_URL_arm64 in Dockerfile.dapper
# Run make
make
```
## Contact
For bugs, questions, comments, corrections, suggestions, etc., open an issue in
[rancher/os](//github.com/rancher/os/issues) with a title starting with `[os-base] `.
[burmilla/os](//github.com/burmilla/os/issues) with a title starting with `[os-base] `.

Or just [click here](//github.com/rancher/os/issues/new?title=%5Bos-base%5D%20) to create a new issue.
Or just [click here](//github.com/burmilla/os/issues/new?title=%5Bos-base%5D%20) to create a new issue.


# License
Copyright (c) 2014-2019 [Rancher Labs, Inc.](http://rancher.com)
Copyright (c) 2020 Project Burmilla

Copyright (c) 2014-2020 [Rancher Labs, Inc.](http://rancher.com)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 5f04634

Please sign in to comment.