Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (634602e59fc5cc9eb3bbe6752849c3c6689bf69c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <lynx AT mages.ath.cx>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to devel-flux cauldron by Justin Boffemmyer (634602e59fc5cc9eb3bbe6752849c3c6689bf69c)
  • Date: Tue, 27 Nov 2007 23:34:44 +0100

On Tuesday 27 of November 2007 23:17:50 Justin Boffemmyer wrote:
> GIT changes to devel-flux cauldron by Justin Boffemmyer
> <flux AT shaolin.homelinux.org>:
>
> src/cauldron | 209
> ++++++++++++++++++++++++++++++++++++++++++++++++++ src/installers/common |
> 53 ++++++++++++
> 2 files changed, 262 insertions(+)
>
> New commits:
> commit 634602e59fc5cc9eb3bbe6752849c3c6689bf69c
> Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
> Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>
>
> Started cauldron script and installer setup
>
> Began work on the main cauldron script by implementing several
> functions and a very rudimentary TUI. Additionally started the work for
> installer setups by implementing a function in installers/common.
Great to more cauldron work being done again. :) I know you just started, but
here are the problems I noticed:

> +cauldron_enter_chroot() {
> + mount --bind ${HOST}/dev ${CAULDRON_BUILD}/dev
> + mount --bind ${HOST}/dev/pts ${CAULDRON_BUILD}/dev/pts
> + mount --bind ${HOST}/proc ${CAULDRON_BUILD}/proc
> +}
> +
> +cauldron_exit_chroot() {
> + umount ${CAULDRON_BUILD}/dev
> + umount ${CAULDRON_BUILD}/dev/pts
Looks like a copy/paste mistake to me - afaik /dev/pts needs to be unmounted
first for this to work.

> +cauldron_create_base_toolchain() {
> + for spell in ${HOST_TOOLCHAIN}
> + do
> + if [[ -f
> ${HOST_SORCERY_SPOOL}/${spell}-*-${HOST_ARCH}-${HOST_SYSTEM}-linux-gnu.tar.
>bz2 ]] + then
> + cp
> ${HOST_SORCERY_SPOOL}/${spell}-*-${HOST_ARCH}-${HOST_SYSTEM}-linux-gnu.tar.
>bz2 + else
cp where?

> + # copy the host's resolv.conf in order to dl packages from net
> + cp /etc/resolv.conf ${CAULDRON_BUILD}/
Sometimes this file is a symlink, I think in the case of rp-pppoe, so it
would
be good to check for that first and follow the link if it is one. Low
priority.

> +cauldron_install_copy_kernel() {
> + cp ${ISO}/boot/linux ${TARGET_SYSTEM};
> + cp --parents -r ${ISO}/lib/modules/${LINUX_VER}/* ${TARGET_SYSTEM};
> + cauldron_enter_chroot(${TARGET_SYSTEM});
bash: syntax error near unexpected token `('

--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page