Skip to content
Snippets Groups Projects
Verified Commit 7ab2351d authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

install reform-tools from git main HEAD

parent 206603e9
No related branches found
No related tags found
No related merge requests found
Pipeline #3542 passed
...@@ -212,6 +212,10 @@ umask 022 ...@@ -212,6 +212,10 @@ umask 022
# we cannot upgrade the kernel from the booted system. # we cannot upgrade the kernel from the booted system.
# debian-installer chooses 999424 sectors (= 488MB) by default # debian-installer chooses 999424 sectors (= 488MB) by default
# FIXME: investigate this. From recent d-i:
# Number Start End Size File system Name Flags
# 1 1048576B 511705087B 510656512B ext2
# 2 511705088B 15677259775B 15165554688B
BOOTSIZE=488 BOOTSIZE=488
ROOTSIZE=4096 ROOTSIZE=4096
...@@ -401,6 +405,10 @@ case "$DIST" in ...@@ -401,6 +405,10 @@ case "$DIST" in
--customize-hook='rm "$1/reform-branding_4_all.deb"' --customize-hook='rm "$1/reform-branding_4_all.deb"'
;; ;;
esac esac
# install reform-tools from git HEAD
set -- "$@" --customize-hook='wget -O - https://source.mnt.re/reform/reform-tools/-/archive/main/reform-tools-main.tar.gz | tar -zx -C "$1/tmp"' \
--customize-hook='make -C "$1/tmp/reform-tools-main/" install DESTDIR="$1/"' \
--customize-hook='rm -rf "$1/tmp/reform-tools-main"'
# sanity check that we only have a single kernel image installed # sanity check that we only have a single kernel image installed
set -- "$@" --customize-hook='test "$(find "$1/lib/modules" -maxdepth 1 -mindepth 1 -type d | wc -l)" -eq 1' set -- "$@" --customize-hook='test "$(find "$1/lib/modules" -maxdepth 1 -mindepth 1 -type d | wc -l)" -eq 1'
# copy out machine descriptions from reform-tools so that we can use them as well # copy out machine descriptions from reform-tools so that we can use them as well
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment