Browse Source

squashfs: changed squashfs_install_overlay() to receive the targetdir as $1

user/chris/test/arm
Alejandro Mery 13 years ago
parent
commit
13b79da9dd
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      target/share/squashfs.in
  2. +1
    -1
      target/share/squashfs/build.sh

+ 4
- 1
target/share/squashfs.in

@ -37,7 +37,10 @@ squashfs_install_flist() {
# weak functions
#
squashfs_install_overlay() { overlay_apply "$@"; }
squashfs_install_overlay() {
local x="$1/squashfs"
[ ! -d "$x" ] || overlay_apply "$x" "$2"
}
# should this package be extracted by flist or not?
# squashfs_install <pkg_name> <sandbox> <rootfs>

+ 1
- 1
target/share/squashfs/build.sh

@ -58,7 +58,7 @@ done
[ -z "$SQUASHFS_POSTINSTALL_HOOK" ] || eval "$SQUASHFS_POSTINSTALL_HOOK"
# Apply overlay
[ ! -d "target/$target/squashfs" ] || squashfs_install_overlay "target/$target/squashfs" "$rootfs"
squashfs_install_overlay "target/$target" "$rootfs"
# hook $SQUASHFS_POSTOVERLAY_HOOK
#

Loading…
Cancel
Save