fix allinone script to work correctly

This commit is contained in:
Tobias Powalowski 2011-08-31 17:58:46 +02:00
parent 54daf57c5f
commit 8c10bd672a
2 changed files with 8 additions and 6 deletions

View file

@ -3,7 +3,7 @@
build () build ()
{ {
MODULES="" MODULES=""
BINARIES="/usr/bin/weechat" BINARIES="/usr/bin/weechat-curses"
FILES="" FILES=""
SCRIPT="" SCRIPT=""
add_full_dir "/usr/lib/weechat" add_full_dir "/usr/lib/weechat"

View file

@ -85,11 +85,13 @@ _merge_initramfs() {
# extract the initramfs files # extract the initramfs files
mkdir "${CORE}/tmp"/initrd mkdir "${CORE}/tmp"/initrd
bsdtar xf "${CORE}/tmp"/*/boot/initrd.img "${CORE}/tmp"/initrd cd "${CORE}/tmp"/initrd
bsdtar xf "${CORE_LTS}/tmp"/*/boot/initrd.img "${CORE}/tmp"/initrd bsdtar xf "${CORE}/tmp"/*/boot/initrd.img
mkdir "${CORE}/tmp"/initrd64 bsdtar xf "${CORE_LTS}/tmp"/*/boot/initrd.img
bsdtar xf "${CORE64}/tmp"/*/boot/initrd.img "${CORE64}/tmp"/initrd mkdir "${CORE64}/tmp"/initrd
bsdtar xf "${CORE64_LTS}/tmp"/*/boot/initrd.img "${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 # merge them into one file for each architecture
cd "${CORE}/tmp"/initrd cd "${CORE}/tmp"/initrd