October 29, 201114 yr This one is a bit esoteric. The plugin allows you to download and install a complete slack 13.1 build environment, and sets up a chroot for it. I have successfully used it to build a package for mp3fs, which is now installed on my unRAID box. Download: http://dl.dropbox.com/u/3127998/unraid/buildenv-0.2-noarch-1maa.plg Nothing gets downloaded upon install. To set up your build environment, type /etc/rc.d/rc.buildenv enable <PATH_TO_USE_FOR_CHROOT> as root. The first time this command is run, (my idea of) a build environment is downloaded and installed to <PATH_TO_USE_FOR_CHROOT> . The default chroot location is /usr/local/buildenv , and the install is just shy of 1GB, so I strongly suggest specifying something like /mnt/cache/.buildenv To enter the build environment: tower:/# chroot <PATH_TO_USE_FOR_CHROOT> /bin/bash tower:/# ldconfig I've tried to err on the side of caution in getting a base build environment set up. Specific dependencies will need to be installed to the chroot dir manually. E.g. flac, ogg and libid3tag for mp3fs. The plugin does not have a web GUI interface at the moment. to unmount system directories (/dev/, /dev/pts, /proc/, /sys/ ) from the chroot dir use /etc/rc.d/rc.buildenv stop . /etc/rc.d/rc.buildenv start remounts. /etc/rc.d/rc.buildenv disable disallows /etc/rc.d/rc.buildenv start . /etc/rc.d/rc.buildenv start|stop are registered to disks_mounted and unmounting_disks respectively. 2011-11-07 0.2 - second release * add "which" package (required for makepkg) * add go_build.sh: * mounts system directories to $INSTALLDIR * chroots into $INSTALLDIR, running setup_chroot.sh * setup_chroot.sh: * runs ldconfig * sets $PS1 to indicate we are chrooted * upon exit from chroot, system directories are unmounted Hope this is useful to other people than myself
March 11, 201214 yr Looks interesting, going to try this, and see if I can use it to update the bzroot/bzimage ( own compiled ) //Peter
March 11, 201214 yr Author Cool this is very much released on a works-for-me basis, however. Expect bugs (and don't hesitate to report them )
Archived
This topic is now archived and is closed to further replies.