diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-04 10:34:09 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-04 10:34:09 +0200 |
commit | 53a788ecd077836bb95c6059cafa4bedf542dc97 (patch) | |
tree | 4bccc670b522737d7c2696103b6d7df63a4392cd | |
parent | 844deb35f5b4f837699c1a8611f4e5be848ce59f (diff) | |
download | biruda-53a788ecd077836bb95c6059cafa4bedf542dc97.tar.gz biruda-53a788ecd077836bb95c6059cafa4bedf542dc97.tar.bz2 |
more Centos gold example fixes and some TODOs
-rw-r--r-- | TODOS | 18 | ||||
-rw-r--r-- | examples/build_gold_image/README | 17 | ||||
-rw-r--r-- | examples/build_gold_image/biruda.conf | 3 |
3 files changed, 36 insertions, 2 deletions
@@ -6,3 +6,21 @@ command = "/bin/sh ./build_centos6.sh i686" - replace json-c with an embeddd and thread-safe libcjson as in Tegano +warning: Could not load shared library symbols for linux-gate.so.1. +Do you need "set solib-search-path" or "set sysroot"? +[Thread debugging using libthread_db enabled] +Using host libthread_db library "/usr/lib/libthread_db.so.1". +Core was generated by `../../src/biruda -f -c biruda.conf'. +Program terminated with signal SIGSEGV, Segmentation fault. +#0 0x080507a0 in watch_child (pid=9265, status=0, data=0xb4b014a0) at worker.c:207 +207 exit_message = error->message; +(gdb) bt +#0 0x080507a0 in watch_child (pid=9265, status=0, data=0xb4b014a0) at worker.c:207 +#1 0xb7631e1a in ?? () from /usr/lib/libglib-2.0.so.0 +#2 0xb7635613 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 +#3 0xb7635a29 in ?? () from /usr/lib/libglib-2.0.so.0 +#4 0xb7635dd9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 +#5 0x08050b3c in worker_func (thread_data=0xb4b014a0) at worker.c:307 +#6 0xb77801a6 in start_thread () from /usr/lib/libpthread.so.0 +#7 0xb751e7ce in clone () from /usr/lib/libc.so.6 + diff --git a/examples/build_gold_image/README b/examples/build_gold_image/README index ce781b3..a5726aa 100644 --- a/examples/build_gold_image/README +++ b/examples/build_gold_image/README @@ -2,7 +2,12 @@ Requirements ------------ Your distribution needs a running 'rpm', so on ArchLinux this can be -achieved by installing ' +achieved by installing 'rpm-org'. You also need a running 'yum' which +on ArchLinux you can build from the AUR. + +Running +------- + This example runs a single-node biruda installing a Centos 6 image in a chroot. @@ -12,6 +17,8 @@ biruda -f -c biruda.conf In another shell start the interactive cli: +shell> biruda -i -c biruda.conf + biruda> status coordinator eeepc cpe:/o:arch:arch:rolling i686 1 alive 1428133209 (0) worker example_build_gold stopped direct /bin/sh ./build_centos6.sh x86_64 (0) @@ -55,3 +62,11 @@ shell> ls rhel6-x64 bin boot dev etc home lib media mnt opt proc root sbin selinux srv sys tmp usr var +When the installation finished we can run the other worker which just +makes a cat of the Redhat version file '/etc/redhat-release': + +biruda> start +worker> example_run +Request queued +biruda> messages +CentOS release 6.6 (Final) diff --git a/examples/build_gold_image/biruda.conf b/examples/build_gold_image/biruda.conf index 10cdca4..fb27401 100644 --- a/examples/build_gold_image/biruda.conf +++ b/examples/build_gold_image/biruda.conf @@ -35,7 +35,8 @@ worker example_run execution = direct - command = "/bin/chroot rhel6-x64 /bin/bash -c '/bin/cat /etc/redhat-release'" +# command = "/bin/chroot rhel6-x64 /bin/bash -c '/bin/cat /etc/redhat-release'" + command = "/bin/chroot rhel6-686 /bin/bash -c '/bin/cat /etc/redhat-release'" } webserver |