summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorSebastian2010-04-11 19:48:33 +0200
committerSebastian2010-04-11 19:48:33 +0200
commitc8f51a43fa97e5f42df9b82d1427c33b8d988bb8 (patch)
tree1a4d69f701fede992dfa3b61e3ead9d2381a3b20 /tasks
parentadded dependency based system to run defined tasks (diff)
downloadbroot-c8f51a43fa97e5f42df9b82d1427c33b8d988bb8.tar.gz
broot-c8f51a43fa97e5f42df9b82d1427c33b8d988bb8.tar.xz
broot-c8f51a43fa97e5f42df9b82d1427c33b8d988bb8.zip
added function to quickly access a shell inside chroot
started with enlightenment lib package (incomplete, commit just for transfer)
Diffstat (limited to 'tasks')
-rw-r--r--tasks/build_e.sh18
-rw-r--r--tasks/shell.task.sh8
2 files changed, 26 insertions, 0 deletions
diff --git a/tasks/build_e.sh b/tasks/build_e.sh
new file mode 100644
index 0000000..9dc40c7
--- /dev/null
+++ b/tasks/build_e.sh
@@ -0,0 +1,18 @@
+build_e_package_dependencies="buildtools"
+
+build_e() {
+ local ME=build_busybox
+ chroot-aptinstall automake pkgconfig debus-1-dev liblua5.1-0-dev \
+ xterm make gcc bison flex subversion \
+ automake1.10 autoconf autoconf-archive libtool gettext \
+ libc6-dev \
+ zlib1g-dev libjpeg62-dev \
+ libpng12-dev libfreetype6-dev \
+ libxrender-dev libx11-dev libxinerama-dev \
+ libxss-dev libxext-dev libxrandr-dev libxp-dev \
+ libxfixes-dev libxdamage-dev libxcursor-dev \
+ libpam0g-dev doxygen
+
+ echo " Building e"
+ chroot-exec /root/bin/build-e.sh >> $BROOT_LOG.$ME
+}
diff --git a/tasks/shell.task.sh b/tasks/shell.task.sh
new file mode 100644
index 0000000..cf38adc
--- /dev/null
+++ b/tasks/shell.task.sh
@@ -0,0 +1,8 @@
+shell() {
+ if [ ! -e $BROOT_BUILDROOT_PATH/bootstraped ]; then
+ echo " Can't find buildroot."
+ exit 13
+ fi
+ echo " Switching to chroot"
+ chroot-exec /bin/bash
+}