manjaro version of `mkarchroot` does not behave as the original, breaks e.g. aurutils
mkmanjaroroot
is a symlink to mkarchroot
, but mkarchroot
does not behave as the original Arch version: it creates a file .manjaro-chroot
instead of .arch-chroot
(see mkarchroot.in Line 109 )
This essentially breaks the API of mkarchroot
and other programs depending on this file break. My problem was with aurutils: they check for the correctly created chroot file system by looking for .arch-chroot
, which does not exist when using the Manjaro devtools and aurutils fail.
Possible solutions IMHO:
- make
mkarchroot
behave as Arch equivalent, only create.arch-chroot
and keep symlink frommkmanjaroroot
: this could possibly break some code as manjaro packages now don't find the.manjaro-chroot
file anymore. - make
mkmanjaroroot
create.manjaro-chroot
andmkarchroot
.arch-chroot
(separating the two programs): this could break code that relies on the wrong behavior - make
mkarchroot
create both files.arch-chroot
and.manjaro-chroot
and keep symlink: possibly best backward compatibility (but maybe side effects?)
This has also been discussed in the forum