From c6c2dc987b1011c2b96a625fd1d42304690a5f4f Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Sun, 29 Oct 2023 16:40:00 +0700 Subject: [PATCH] chroot --- anda/tools/uutils-coreutils/uutils-coreutils.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anda/tools/uutils-coreutils/uutils-coreutils.spec b/anda/tools/uutils-coreutils/uutils-coreutils.spec index 099cb1e748..56a65f3ea2 100644 --- a/anda/tools/uutils-coreutils/uutils-coreutils.spec +++ b/anda/tools/uutils-coreutils/uutils-coreutils.spec @@ -67,8 +67,11 @@ sed -i 's@ @\n@g' files-replace.txt # remove buildroot from paths in files.txt sed -i "s@%buildroot@/@g" files-replace.txt +ln -r -s %buildroot/%_bindir/chroot %buildroot/usr/sbin/chroot + %files -f files.txt +/usr/sbin/chroot %doc README.md %license LICENSE