diff options
-rw-r--r-- | lib/cmd/opkg.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/cmd/opkg.sh b/lib/cmd/opkg.sh index 3016773..92d4dcb 100644 --- a/lib/cmd/opkg.sh +++ b/lib/cmd/opkg.sh @@ -19,7 +19,7 @@ # <http://www.gnu.org/licenses/>. use profile -use chroot +use session use rand cmd_opkg_main() @@ -75,7 +75,9 @@ cmd_opkg_main() . "${root}/etc/os-release" profile_set "${ID}" - chroot_exec "${root}" opkg "${@}" + session_begin "${root}" . : + session_exec opkg "${@}" + session_end case "${opks}" in *[!\ ]*) |