Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDewes committed Feb 4, 2021
2 parents 8395aff + 50ce904 commit b7243f8
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: ["push", "pull_request"]
jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

steps:

Expand All @@ -14,7 +14,7 @@ jobs:
run: sudo apt-get update

- name: Install dependencies
run: sudo apt-get -y install quilt qemu-user-static debootstrap bsdtar
run: sudo apt-get -y install quilt qemu-user-static debootstrap libarchive-tools

- name: Nuke current Docker installation
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-tag-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

steps:

Expand All @@ -18,7 +18,7 @@ jobs:
run: sudo apt-get update

- name: Install dependencies
run: sudo apt-get -y install quilt qemu-user-static debootstrap bsdtar
run: sudo apt-get -y install quilt qemu-user-static debootstrap libarchive-tools

- name: Nuke current Docker installation
run: |
Expand Down
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ FIRST_USER_PASS=moneyprintergobrrr
ENABLE_SSH=1
BUILD_SCRIPTS="Umbrel OS official build scripts"
BUILD_SCRIPTS_REPO="https://github.com/getumbrel/umbrel-os"
UMBREL_VERSION=0.2.15
UMBREL_VERSION=0.3.2
1 change: 1 addition & 0 deletions depends
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ file
git
lsmod:kmod
bc
docker
25 changes: 20 additions & 5 deletions scripts/dependencies_check
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,26 @@ dependencies_check()
false
fi

# If we're building on a native arm platform, we don't need to check for
# binfmt_misc or require it to be loaded.

if ! grep -q "/proc/sys/fs/binfmt_misc" /proc/mounts; then
echo "Module binfmt_misc not loaded in host"
echo "Please run:"
echo " sudo modprobe binfmt_misc"
exit 1
binfmt_misc_required=1

case $(uname -m) in
aarch64)
binfmt_misc_required=0
;;
arm*)
binfmt_misc_required=0
;;
esac

if [[ "${binfmt_misc_required}" == "1" ]]; then
if ! grep -q "/proc/sys/fs/binfmt_misc" /proc/mounts; then
echo "Module binfmt_misc not loaded in host"
echo "Please run:"
echo " sudo modprobe binfmt_misc"
exit 1
fi
fi
}
2 changes: 1 addition & 1 deletion stage1/00-boot-files/files/cmdline.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usb-storage.quirks=152d:1561:u,152d:1576:u,152d:0578:u,125f:a76a:u console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
usb-storage.quirks=152d:1561:u,152d:1576:u,152d:0578:u,125f:a76a:u,04e8:61b6:u console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
4 changes: 2 additions & 2 deletions stage2/00-sys-tweaks/00-patches/04-resize-init.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- stage2.orig/rootfs/boot/cmdline.txt
+++ stage2/rootfs/boot/cmdline.txt
@@ -1 +1 @@
-usb-storage.quirks=152d:1561:u,152d:1576:u,152d:0578:u,125f:a76a:u console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
+usb-storage.quirks=152d:1561:u,152d:1576:u,152d:0578:u,125f:a76a:u console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh
-usb-storage.quirks=152d:1561:u,152d:1576:u,152d:0578:u,125f:a76a:u,04e8:61b6:u console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
+usb-storage.quirks=152d:1561:u,152d:1576:u,152d:0578:u,125f:a76a:u,04e8:61b6:u console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh
1 change: 1 addition & 0 deletions stage2/03-install-umbrel/00-packages
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ git
fswatch
jq
python3-qrcode
unattended-upgrades

0 comments on commit b7243f8

Please sign in to comment.