public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Luca Casagrande <luca.casagrande@gmail.com>
To: gentoo-catalyst@lists.gentoo.org
Subject: [gentoo-catalyst] postgresql and fsscript.sh
Date: Fri, 5 Jan 2007 16:41:06 +0100	[thread overview]
Message-ID: <20070105164106.530ccdf5@gekomachine.casa> (raw)

Hi to all!

For my livecd, i plan to use postgresql and store some sample data inside it. The merging part has been
done with no error in livecd-stage1, instead the configuration process it's in the fsscript;

This is a part of my fsscript

[..]
emerge --config postgresql
/etc/init.d/postgresql start
su postgres -c 'createdb livecd;createlang plpgsql livecd;psql -d livecd -f /usr/share/postgresql/contrib/lwpostgis.sql;psql -d livecd -f /usr/share/postgresql/contribspatial_ref_sys.sql;exit'
shp2pgsql -s -1 /home/ominiverdi/data/qgis/alaska.shp alaska livecd > /home/ominiverdi/data/qgis/alaska.sql
psql -h localhost -U postgres -d livecd -f  /home/ominiverdi/data/qgis/alaska.sql
/etc/init.d/postgresql stop
[..]

Catalyst exec the fsscript with no error and reach the rc-update section; at the end of it i got this:

* postgresql added to runlevel default
removing /var/tmp/catalyst/tmp/default/livecd-stage2-i686-ominiverdi/tmp/chroot-functions.sh from the chroot 
Running action sequence: unmerge
copying unmerge.sh to /var/tmp/catalyst/tmp/default/livecd-stage2-i686-ominiverdi/tmp/
copying chroot-functions.sh to /var/tmp/catalyst/tmp/default/livecd-stage2-i686-ominiverdi/tmp/
Running unmerge.sh in chroot /var/tmp/catalyst/tmp/default/livecd-stage2-i686-ominiverdi/ 
---'profiles/arch.list' is empty or not available. Empty portage tree?
>>> Regenerating /etc/ld.so.cache...
ROOT=/ emerge  -pt -C sys-kernel/gentoo-sources
--- 'profiles/arch.list' is empty or not available. Empty portage tree?
--- 'profiles/updates' is empty or not available. Empty portage tree?
--- 'profiles/arch.list' is empty or not available. Empty portage tree?
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete?
 
 
!!! catalyst: Unmerge script failed.
 
umount: /var/tmp/catalyst/tmp/default/livecd-stage2-i686-ominiverdi/proc: device is busy
umount: /var/tmp/catalyst/tmp/default/livecd-stage2-i686-ominiverdi/proc: device is busy !!! 
catalyst: First attempt to unmount: /var/tmp/catalyst/tmp/default/livecd-stage2-i686-ominiverdi//proc failed.

If i remove from fsscript, all except emerge --config postgresql, the iso is created succesfully.

Thanks for your help

Luca
-- 
Join the world's largest wifi conunity! http://en.fon.com/

LINUX User #411601
GENTOO-GIS Development Team
jabber: casagrande@jabber.linux.it

 
-- 
gentoo-catalyst@gentoo.org mailing list



                 reply	other threads:[~2007-01-05 15:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070105164106.530ccdf5@gekomachine.casa \
    --to=luca.casagrande@gmail.com \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox