0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-25 06:26:15 +00:00
openwrt/package/utils/e2fsprogs/patches/000-relocatable.patch
Rosen Penev 8fd5091696 e2fsprogs: Update to 1.44.5
Added e4crypt tool for encrypting files and directories. To work properly
requires kernel and work on keyutils. That will be done in a future commit

Some top-level reorganization for consistency between packages.

Tested on GnuBee PC1 (mt7621).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-26 23:11:49 +01:00

41 lines
710 B
Diff

--- a/lib/et/compile_et.sh.in
+++ b/lib/et/compile_et.sh.in
@@ -2,8 +2,14 @@
#
#
-AWK=@AWK@
-DIR=@datadir@/et
+if test "x$STAGING_DIR" = x ; then
+ AWK=@AWK@
+ DIR=@datadir@/et
+else
+ AWK=awk
+ DIR="$STAGING_DIR/../hostpkg/share/et"
+fi
+
if test "$1" = "--build-tree" ; then
shift;
--- a/lib/ss/mk_cmds.sh.in
+++ b/lib/ss/mk_cmds.sh.in
@@ -2,10 +2,16 @@
#
#
-DIR=@datadir@/ss
-AWK=@AWK@
SED=sed
+if test "x$STAGING_DIR" = x ; then
+ DIR=@datadir@/ss
+ AWK=@AWK@
+else
+ DIR="$STAGING_DIR/../hostpkg/share/ss"
+ AWK=awk
+fi
+
for as_var in \
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \