coreutils: make /usr/sbin be a directory.. not a file
This commit is contained in:
@@ -18,7 +18,7 @@ build = [
|
||||
f"cd {builddir} && autoreconf -fv && automake -af && FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --enable-no-install-program=kill,uptime",
|
||||
f"cd {builddir} && make -j$(nproc)",
|
||||
f"cd {builddir} && make DESTDIR={destdir} install",
|
||||
f"cd {builddir} && mv -v {destdir}/usr/bin/chroot {destdir}/usr/sbin",
|
||||
f"cd {builddir} && mkdir -pv {destdir}/usr/sbin &&mv -v {destdir}/usr/bin/chroot {destdir}/usr/sbin/chroot",
|
||||
f"cd {builddir} && install -d -m 755 {destdir}/usr/share/man/man8",
|
||||
f"cd {builddir} && mv -v {destdir}/usr/share/man/man1/chroot.1 {destdir}/usr/share/man/man8/chroot.8",
|
||||
f"cd {builddir} && sed -i 's/\"1\"/\"8\"/' {destdir}/usr/share/man/man8/chroot.8",
|
||||
|
||||
Reference in New Issue
Block a user