Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-system-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
reform-system-image
Commits
7ab2351d
Verified
Commit
7ab2351d
authored
1 week ago
by
Johannes Schauer Marin Rodrigues
Browse files
Options
Downloads
Patches
Plain Diff
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
1 week ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mkimage.sh
+8
-0
8 additions, 0 deletions
mkimage.sh
with
8 additions
and
0 deletions
mkimage.sh
+
8
−
0
View file @
7ab2351d
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment