Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
ecce9c40
Verified
Commit
ecce9c40
authored
Sep 28, 2020
by
Sven-Hendrik Haase
Browse files
Compress initramfs with xz
In my tests this gains us about 10MB.
parent
c16b3731
Pipeline
#1945
passed with stages
in 29 minutes and 54 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
build-inside-vm.sh
View file @
ecce9c40
...
...
@@ -86,6 +86,9 @@ function postinstall() {
mkswap
"
${
MOUNT
}
/swap/swapfile"
echo
-e
"/swap/swapfile none swap defaults 0 0"
>>
"
${
MOUNT
}
/etc/fstab"
echo
"COMPRESSION=
\"
xz
\"
"
>>
"
${
MOUNT
}
/etc/mkinitcpio.conf"
arch-chroot
"
${
MOUNT
}
"
/usr/bin/mkinitcpio
-p
linux
echo
"archlinux"
>
"
${
MOUNT
}
/etc/hostname"
echo
"KEYMAP=us"
>
"
${
MOUNT
}
/etc/vconsole.conf"
ln
-sf
/var/run/systemd/resolve/resolv.conf
"
${
MOUNT
}
/etc/resolv.conf"
...
...
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