Re: Build in clean chroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 03/10/2011 07:38 PM, Linas wrote:
Baho Utot wrote:
This gives me an error

/build/PKGBUILD: line 25: cd: /trinity.source/kdepim: Too many levels
of symbolic links

I want to symlink the svn repo to inside the chroot so when
makechrootpkg -c -r<chrootdir>  creates the clean copy it doesn't have
to copy the entire svn source code to the clean copy, as it is almost
2G is size.

  Anyone know of a way to get around this?
symlinks can't go out of chroots. So /home+build/../trinity.source
inside the chroot is /../trinity.source and the parent of root being
root, resolves to /trinity.source which is /home+build/trinity.source.
In summary: the symlink points to itself.
The solution is to use mount --bind /trinity.source
/home+build/trinity.source


I will try that Thank you





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux