Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 269307 Details for
Bug 361439
dev-java/netbeans-platform-7.0_rc1 fails to compile because an annotation processor threw an uncaught exception
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script to enter chroot
start.sh (text/plain), 1.47 KB, created by
David Carlos Manuelda
on 2011-04-10 14:24:43 UTC
(
hide
)
Description:
Script to enter chroot
Filename:
MIME Type:
Creator:
David Carlos Manuelda
Created:
2011-04-10 14:24:43 UTC
Size:
1.47 KB
patch
obsolete
>#! /bin/bash >TARFILENAME="../gentoo-`date +"%d-%m-%Y"`.tar" >XZFILENAME="$TARFILENAME.xz" >ROOT="/data/Gentoo/root" >PORTAGE="/usr/portage" >DISTFILES="/usr/portage/distfiles" >CCACHE="/var/tmp/ccache" >LOGDIR="/var/log/portage" >mountall() { > echo -n "Mounting binded paths... " > mount -o bind $PORTAGE $ROOT$PORTAGE > mount -o bind $DISTFILES $ROOT$DISTFILES > mount -o bind $CCACHE $ROOT$CCACHE > mount -o bind $LOGDIR $ROOT$LOGDIR > mount -o bind /dev $ROOT/dev > mount -t proc none $ROOT/proc > cp -L /etc/resolv.conf $ROOT/etc/resolv.conf > echo "OK" >} > >umountall() { > echo -n "Unmounting binded paths... " > umount $ROOT$CCACHE > umount $ROOT$LOGDIR > umount $ROOT/dev > umount $ROOT/proc > umount $ROOT$DISTFILES > echo "OK" >} > >clean() { > echo -n "Cleaning... " > rm -Rf $ROOT/tmp/* > /dev/null 2>&1 > rm -Rf $ROOT/var/log/portage/* > /dev/null 2>&1 > rm -Rf $ROOT/var/tmp/portage/* > echo "OK" >} > > >warning() { > echo "Remember to run env-update && source /etc/profile" >} > >pack() { > cd $ROOT > echo "Packaging image $TARFILENAME" > tar cpSvf $TARFILENAME . > echo "OK" >} > >compress() { > cd $ROOT > echo "Compressing image $XZFILENAME " > lzma -zv9eq $TARFILENAME > $XZFILENAME > echo "OK" >} > >clean() { > echo -n "Cleaning... " > cd $ROOT > rm -f $TARFILENAME; > echo "OK" >} > >mountall >warning >chroot $ROOT /bin/bash >umountall >clean > >read -p "Create new image? (y/n): " >if [ $REPLY != "y" ]; then > echo "Exiting..." >else > pack > read -p "Compress image? (y/n): " > if [ $REPLY == "y" ]; then > compress > fi > clean >fi >umount $ROOT$PORTAGE
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 361439
:
267961
| 269307