mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix allinone script to work correctly
This commit is contained in:
parent
54daf57c5f
commit
8c10bd672a
2 changed files with 8 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
build ()
|
||||
{
|
||||
MODULES=""
|
||||
BINARIES="/usr/bin/weechat"
|
||||
BINARIES="/usr/bin/weechat-curses"
|
||||
FILES=""
|
||||
SCRIPT=""
|
||||
add_full_dir "/usr/lib/weechat"
|
||||
|
|
|
@ -85,11 +85,13 @@ _merge_initramfs() {
|
|||
|
||||
# extract the initramfs files
|
||||
mkdir "${CORE}/tmp"/initrd
|
||||
bsdtar xf "${CORE}/tmp"/*/boot/initrd.img "${CORE}/tmp"/initrd
|
||||
bsdtar xf "${CORE_LTS}/tmp"/*/boot/initrd.img "${CORE}/tmp"/initrd
|
||||
mkdir "${CORE}/tmp"/initrd64
|
||||
bsdtar xf "${CORE64}/tmp"/*/boot/initrd.img "${CORE64}/tmp"/initrd
|
||||
bsdtar xf "${CORE64_LTS}/tmp"/*/boot/initrd.img "${CORE64}/tmp"/initrd
|
||||
cd "${CORE}/tmp"/initrd
|
||||
bsdtar xf "${CORE}/tmp"/*/boot/initrd.img
|
||||
bsdtar xf "${CORE_LTS}/tmp"/*/boot/initrd.img
|
||||
mkdir "${CORE64}/tmp"/initrd
|
||||
cd "${CORE64}/tmp"/initrd
|
||||
bsdtar xf "${CORE64}/tmp"/*/boot/initrd.img
|
||||
bsdtar xf "${CORE64_LTS}/tmp"/*/boot/initrd.img
|
||||
|
||||
# merge them into one file for each architecture
|
||||
cd "${CORE}/tmp"/initrd
|
||||
|
|
Loading…
Reference in a new issue