diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/opkg.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/opkg.sh b/lib/opkg.sh index 1966ebc..046bc2f 100644 --- a/lib/opkg.sh +++ b/lib/opkg.sh @@ -21,12 +21,14 @@ [ "x${_OPKG_SM+set}" = 'xset' ] && return 0 _OPKG_SM=1 -use chroot +use session opkg_install_all() { local root="${1}" - chroot_exec "${root}" /bin/sh -c \ + session_begin "${root}" . : + session_exec /bin/sh -c \ 'opkg install $(opkg list-installed | cut -d " " -f 1)' + session_end } |