Simon,
I have both x86-64 and i686 images on one x86-64 machine. The i686
exists in a chroot environment so that I can admin both architectures
on one machine (works great!). I share files across the images by
using mount with the "-o bind " option. Here is what I do on boot to
share parts of the x86-64 image with the i686 chroot. It can be done
for any file. You could also create hard links if the images are on
the same file system, but mine are not.
mount -o bind /dev /var/lib/systemimager/images/aes-i686/dev >/dev/null &
mount -o bind /dev/pts /var/lib/systemimager/images/aes-i686/dev/pts
>/dev/null &
mount -o bind /dev/shm /var/lib/systemimager/images/aes-i686/dev/shm
>/dev/null &
mount -o bind /proc /var/lib/systemimager/images/aes-i686/proc >/dev/null &
mount -o bind /proc/bus/usb
/var/lib/systemimager/images/aes-i686/proc/bus/usb >/dev/null &
mount -o bind /sys /var/lib/systemimager/images/aes-i686/sys >/dev/null &
mount -o bind /tmp /var/lib/systemimager/images/aes-i686/tmp >/dev/null &
mount -o bind /usr/portage
/var/lib/systemimager/images/aes-i686/usr/portage/ >/dev/null &
mount -o bind /usr/local /var/lib/systemimager/images/aes-i686/usr/local >
/dev/null &
mount -o bind /var/lib/systemimager/overrides
/var/lib/systemimager/images/aes-i686/var/lib/systemimager/overrides >
/dev/null &
mount -o bind /var/lib/systemimager/scripts
/var/lib/systemimager/images/aes-i686/var/lib/systemimager/scripts > /dev/null &
Dallas
"Simon Lacroix" <[EMAIL PROTECTED]> writes:
> Hello,
>
> A bit of a beginner question here. I have two different images that
> have some common components and I am wandering how to have
> these components in one place instead of replicating them in both images. Any
> ideas on how to do this ?
>
> Thanks for your time
>
> Simon
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
> sisuite-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
--
Dallas Masters
PO BOX 732
Nederland, CO
1-303-258-7037
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users