diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index 285a785..8528cc4 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -1760,7 +1760,7 @@ sub which_tests { my $t_scripts = $chosen_tests->{32}{test_scripts}; return "ERROR" if errm(mount_device($device,$mount_point)) == 2; - sys("yard_chrooted_tests $mount_point $t_fstab $t_inittab $t_scripts", + sys("/usr/lib/bootroot/yard_chrooted_tests $mount_point $t_fstab $t_inittab $t_scripts", "TESTING"); return "ERROR" if errum(sys("umount $mount_point")) == 2; diff --git a/Makefile.pkg b/Makefile.pkg index f9074cf..5b188ed 100644 --- a/Makefile.pkg +++ b/Makefile.pkg @@ -4,7 +4,8 @@ all: install install: install -d $(DESTDIR)/usr/bin cp -fa gbootroot $(DESTDIR)/usr/bin/gbootroot - cp -fa yard_chrooted_tests $(DESTDIR)/usr/bin/yard_chrooted_tests + install -d $(DESTDIR)/usr/lib/bootroot + cp -fa yard_chrooted_tests $(DESTDIR)/usr/lib/bootroot/yard_chrooted_tests cp -fa yard/scripts/make_debian $(DESTDIR)/usr/bin/make_debian install -d $(DESTDIR)/usr/share/perl5/BootRoot cp -fa BootRoot/*.pm $(DESTDIR)/usr/share/perl5/BootRoot @@ -25,7 +26,7 @@ install: remove: rm /usr/bin/gbootroot - rm /usr/bin/yard_chrooted_tests + rm /usr/lib/bootroot/yard_chrooted_tests rm /usr/bin/make_debian rm /usr/share/perl5/BootRoot/* rmdir /usr/share/perl5/BootRoot