From 3426f13470fec30a7e9a872ff6e8419c07e613fb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 Mar 2012 18:22:55 +0000 Subject: add gdb-inst, a wrapper for running GDB in installer a simpler way split share/runinstall2.sh out of Makefile & make it more usefull --- perl-install/install/share/gdb-inst | 2 ++ perl-install/install/share/runinstall2.sh | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 perl-install/install/share/gdb-inst create mode 100644 perl-install/install/share/runinstall2.sh (limited to 'perl-install/install/share') diff --git a/perl-install/install/share/gdb-inst b/perl-install/install/share/gdb-inst new file mode 100644 index 000000000..84c2db9bf --- /dev/null +++ b/perl-install/install/share/gdb-inst @@ -0,0 +1,2 @@ +#!/bin/sh +exec gdb -q --args perl /usr/bin/install2 \ No newline at end of file diff --git a/perl-install/install/share/runinstall2.sh b/perl-install/install/share/runinstall2.sh new file mode 100644 index 000000000..10f3ef700 --- /dev/null +++ b/perl-install/install/share/runinstall2.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +echo "Starting Udev\n" +perl -I/usr/lib/libDrakX -Minstall::install2 -e "install::install2::start_udev()" +echo "You can start the installer by running install2" +echo "You can run it in GDB by running gdb-inst" +exec /usr/bin/busybox sh -- cgit v1.2.1