* [gentoo-catalyst] postgresql and fsscript.sh
@ 2007-01-05 15:41 Luca Casagrande
0 siblings, 0 replies; only message in thread
From: Luca Casagrande @ 2007-01-05 15:41 UTC (permalink / raw
To: gentoo-catalyst
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-05 15:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-05 15:41 [gentoo-catalyst] postgresql and fsscript.sh Luca Casagrande
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox