Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

chrooted build environment

Featured Replies

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 :)

 

  • 4 months later...

Looks interesting, going to try this, and see if I can use it to update the bzroot/bzimage ( own compiled )

 

//Peter

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.