Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Arch Linux
arch-boxes
Commits
c97486b2
Commit
c97486b2
authored
Jan 30, 2021
by
Kristian Klausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use --reflink=always when copying the fallback initramfs
It saves us ~20MB.
parent
05c8cd6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
build-inside-vm.sh
build-inside-vm.sh
+1
-1
No files found.
build-inside-vm.sh
View file @
c97486b2
...
...
@@ -92,7 +92,7 @@ function image_cleanup() {
# So for the initial install we use the fallback initramfs, and
# "autodetect" should add the relevant modules to the initramfs when
# the user updates the kernel.
cp
-a
"
${
MOUNT
}
/boot/"
{
initramfs-linux-fallback.img,initramfs-linux.img
}
cp
--reflink
=
always
-a
"
${
MOUNT
}
/boot/"
{
initramfs-linux-fallback.img,initramfs-linux.img
}
sync
-f
"
${
MOUNT
}
/etc/os-release"
fstrim
--verbose
"
${
MOUNT
}
"
...
...
Write
Preview
Markdown
is supported
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