Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
image-builder
Commits
2c2325b4
Commit
2c2325b4
authored
May 30, 2021
by
Guido Gunther
Browse files
Merge branch 'drop-luks-fixup' into 'master'
root.sh: Drop luks fixup See merge request
!192
parents
db1e1c4b
22b94840
Pipeline
#68137
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
root.sh
View file @
2c2325b4
...
...
@@ -92,10 +92,6 @@ EOF
# Hack up cryttab until askpass supports it
sed
-i
's%discard%discard,keyscript=/usr/share/initramfs-tools/scripts/osk-sdl-keyscript%'
"
${
basedir
}
/etc/crypttab"
chroot
"
${
basedir
}
"
update-initramfs
-u
# Work around https://source.puri.sm/Librem5/librem5-devkit-tools/-/issues/32
BLKID
=
$(
sudo
blkid
-c
/dev/null
-o
value
-s
'UUID'
/dev/mapper/crypt_root
)
sed
-i
"s%root=[^
\"
]
\\
+%root=UUID=
${
BLKID
}
%"
"
${
basedir
}
/etc/flash-kernel/ubootenv.d/root"
chroot
"
${
basedir
}
"
flash-kernel
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment