summaryrefslogtreecommitdiffstats
path: root/perl-install/install/share
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-08 18:22:55 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-08 18:22:55 +0000
commit33c692443426a830e6ac1bc02279246907352704 (patch)
treeba4bb9ae2ac0c19c37d1f479a4d4eae0bbed978b /perl-install/install/share
parent1a2b7368e1192f501fa5a10f989df26d7575a559 (diff)
downloaddrakx-33c692443426a830e6ac1bc02279246907352704.tar
drakx-33c692443426a830e6ac1bc02279246907352704.tar.gz
drakx-33c692443426a830e6ac1bc02279246907352704.tar.bz2
drakx-33c692443426a830e6ac1bc02279246907352704.tar.xz
drakx-33c692443426a830e6ac1bc02279246907352704.zip
add gdb-inst, a wrapper for running GDB in installer a simpler way
split share/runinstall2.sh out of Makefile & make it more usefull
Diffstat (limited to 'perl-install/install/share')
-rw-r--r--perl-install/install/share/gdb-inst2
-rw-r--r--perl-install/install/share/runinstall2.sh7
2 files changed, 9 insertions, 0 deletions
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