openwrt/package
Jo-Philipp Wich 6e419fbdeb Fix extroot by UUID
Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32567
2012-07-01 11:06:32 +00:00
..
6in4 6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts 2012-06-18 21:40:34 +00:00
6rd 6rd: apply the same simplifications done in 6to4 and 6in4 2012-06-18 23:08:20 +00:00
6to4 6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts 2012-06-18 21:40:34 +00:00
acx-mac80211 acx-mac80211: Add workaround for mac80211 hw-queue check 2012-06-17 20:50:43 +00:00
admswconfig admswconfig: reset interface after applying config 2011-01-27 21:49:50 +00:00
apex only support EABI on ARM targets 2011-03-07 12:59:19 +00:00
ar7-atm package/ar7-atm: allow to build on 3.3 2012-05-05 17:32:33 +00:00
arptables artables ebtables iptables: Moved *tables to Firewall submenu of the Network package group because that's where all the feeds packages for firewalls now are. 2011-03-12 01:24:18 +00:00
avila-wdt massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
base-files base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh 2012-06-29 19:04:11 +00:00
block-mount Fix extroot by UUID 2012-07-01 11:06:32 +00:00
bridge-utils Update bridge-utils to the last upstream version 1.5. 2012-02-14 19:07:09 +00:00
broadcom-diag broadcom-diag: add missing break into switch case statement. 2012-04-28 23:30:05 +00:00
broadcom-wl broadcom-wl: fix WDS hotplug for multiple networks 2012-06-26 15:43:09 +00:00
busybox busybox: Enable ibs, obs and conv options on 'dd' 2012-06-19 22:34:49 +00:00
button-hotplug kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
comgt /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
compcache compcache does not build on 2.6.38+ 2011-06-04 13:35:48 +00:00
crda crda: update to 1.1.2 2012-04-02 16:25:40 +00:00
cyassl cyassl: use patch-libtool pkg fixup 2012-01-08 15:39:42 +00:00
dnsmasq dnsmasq: bump package revision 2012-05-19 20:17:57 +00:00
dropbear dropbear: patch possible use after free by authenticated remote users with active command restrictions (CVE-2012-0920) 2012-02-25 12:40:46 +00:00
e2fsprogs e2fsprogs: fix md5sum issue 2012-06-17 21:34:16 +00:00
ead ead: fixup some AC_DEFINE() invocations that will make recent automak bail 2010-12-13 01:47:35 +00:00
ebtables ebtables: add a missing dependency 2012-06-11 00:56:34 +00:00
ep80579-drivers x86/ep80579: switch to 3.3 2012-05-18 20:10:33 +00:00
fbtest fbtest utility 2012-02-08 10:20:13 +00:00
fconfig
firewall firewall: allow incoming ICMPv6 router-advertisement and neighbor-advertisement, thanks swalker 2012-06-08 14:20:34 +00:00
fuse fuse: update to 2.9.0 2012-06-16 21:06:37 +00:00
gdb gdb: use an updated 6.8a tarball 2012-02-14 20:13:28 +00:00
goldfish-qemu
gpio-button-hotplug kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
gpioctl
grub grub: fix build with automake v1.11.3 (#11228) 2012-04-04 18:10:15 +00:00
hostap-driver wpa_supplicant: use wext driver for hostap and madwifi 2012-03-27 10:44:26 +00:00
hostap-utils
hostapd hostapd: fix driver setting for wpa_s in IBSS/WPA-NONE 2012-06-06 15:25:52 +00:00
hotplug2 remove special treatment when using glibc - support got dropped 2012-04-28 22:24:16 +00:00
i2c-gpio-custom massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
ifenslave remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
iproute2 iproute2: fix build errors with newer versions of eglibc 2012-06-07 12:37:49 +00:00
iptables iptables: fix build error if only libraries are selected 2012-06-07 12:24:37 +00:00
iw iw: sync nl80211.h update with compat-wireless 2012-04-16 21:13:18 +00:00
iwcap iwcap: fix reversed umask 2012-02-27 23:08:15 +00:00
iwinfo iwinfo: assume that no tx power information is available if nl80211 returns 0 dBm maximum 2012-05-28 00:52:26 +00:00
ixp4xx-microcode
kernel kernel/modules: load pppol2tp after pppox 2012-07-01 10:34:45 +00:00
kexec-tools kexec-tools: update to 2.0.3 (fixes #9846) 2012-02-13 12:36:36 +00:00
libbsd libbsd: do not build when using uclibc 2011-06-16 14:34:47 +00:00
libipfix rename libmisc.a to libipfixmisc.a 2012-06-05 17:49:57 +00:00
libjson-c change PKG_FIXUP:=libtool to PKG_FIXUP:=autoreconf 2011-03-06 21:42:48 +00:00
libnl libnl: update to version 2.0 (patch by Philip Prindeville) 2011-02-13 03:56:12 +00:00
libnl-tiny libnl-tiny: port upstream bugfix 8ee16e6688657886f591f0841cb8e892743ecf2a from libnl, fixes error on hostapd interface initialization 2012-04-01 05:32:32 +00:00
libpcap libpcap: explicitely disable libnl support to prevent different build results depending on the environment (#11239) 2012-04-08 15:11:12 +00:00
libreadline libreadline: install *.so symlinks as well (#4872) 2010-08-27 20:13:17 +00:00
librpc make librpc compatible with eglibc, unconditionally enable it for packages that need rpc support 2012-06-08 15:10:18 +00:00
libtool libtool: remove patches, they don't apply to libltdl 2010-12-18 18:13:12 +00:00
libubox libubox: add a missing dependency 2012-06-10 20:27:44 +00:00
linux-atm linux-atm: remove defunct ipoa protocol support 2012-06-26 15:40:03 +00:00
ltq-dsl fix for 3.2.9 2012-03-25 08:50:42 +00:00
ltq-dsl-app /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
ltq-ifxos wrong md5sum in ltq-ifxos 2011-07-10 10:40:37 +00:00
ltq-kpi2udp * adss in-kernel udp redirect plugin for lantiq voice optimisation 2011-02-07 21:48:55 +00:00
ltq-tapi ltq-tapi/vmmc were build on none lantiq targets due to bad builddepends of pjsip 2011-07-06 19:02:27 +00:00
ltq-tapidemo set explicit -lpthread 2012-06-16 14:52:33 +00:00
ltq-vmmc remove bogus patch 2012-06-05 17:55:35 +00:00
lua lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed 2011-05-04 14:51:06 +00:00
mac80211 ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756) 2012-06-29 17:59:39 +00:00
maccalc package/maccalc: don't expect to get all data in one read 2011-09-21 11:47:35 +00:00
madwifi madwifi: fix compile issues with linux 3.1/3.2 2012-03-29 12:52:16 +00:00
mkelfimage move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected 2011-07-02 06:49:36 +00:00
mmc_over_gpio mmc_over_gpio: mark /etc/config/mmc_over_gpio as conffile 2010-10-05 17:21:03 +00:00
mountd mountd: correctly handle poll() timeout case, solves possible 100% CPU load when idle (#7293) 2011-07-17 11:58:05 +00:00
mtd mtd: define MTDREFRESH if not defined (external kernel) 2012-02-06 17:15:40 +00:00
ncurses ncurses: libncursesw should not depend on libncurses 2012-05-26 18:03:56 +00:00
netifd netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes 2012-06-29 11:42:15 +00:00
nvram add maintainer information 2010-09-30 10:48:37 +00:00
ocf-crypto-headers ocf-linux: version bump to 20110720 2011-07-24 14:17:58 +00:00
om-watchdog package: add om-watchdog package 2012-01-04 17:30:39 +00:00
openssl openssl does not compile with uml and arch x86_64 2012-06-18 23:54:08 +00:00
opkg include, base-files, opkg: introduce version configuration to override the embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner 2012-04-12 17:31:16 +00:00
owsip move /dev/vmmcX creation to a more central place 2012-06-02 14:03:28 +00:00
pjsip fixes ccache compile and adds missing -lc 2012-06-15 23:42:48 +00:00
ppp ppp: the pptp buffering option is not supported anymore, remove it 2012-06-21 19:41:47 +00:00
ps3-utils ps3-utils git repository fix 2012-03-18 21:08:39 +00:00
pwm-gpio-custom pwm-gpio-custom: fix compile on linux 2.6.31 2010-08-19 12:49:42 +00:00
px5g add maintainer information 2010-09-30 10:48:37 +00:00
qos-scripts /etc/functions.sh => /lib/functions.sh 2012-06-05 16:04:23 +00:00
rbcfg package/rbcfg: new tool for modifying boot configuration on the RB4xx boards 2011-06-29 09:40:54 +00:00
redboot-ar231x redboot-ar231x: mark as broken, the ecos host tool crap needs some rework for tcl on some systems 2011-03-25 00:55:25 +00:00
relayd relayd: fix return code check for resolving network->ifname mapping 2012-05-14 14:08:43 +00:00
resolveip resolveip: fix whitespace 2011-07-17 22:47:56 +00:00
robocfg
rotary-gpio-custom Add package rotary-gpio-custom 2010-07-22 11:32:27 +00:00
rtc-rv5c386a rtc-rv5c386a: add support for kernel 3.0 2011-08-04 20:06:17 +00:00
sierra-directip kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
siit massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
soloscli soloscli: Add script to syslog ADSL line stats 2012-03-29 09:01:33 +00:00
spi-ks8995 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
spidev_test remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
swconfig swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765) 2012-02-12 19:27:01 +00:00
switch switch: the hardware must be up while configuring Since the removal of the interface coldplug hack the timing changed in such a way that eth0 is not up during switch setup, leading to an inaccesible device. Bring up the switch interface before configuring it to mitigate the problem. 2012-03-13 21:15:41 +00:00
toolchain toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package 2012-06-20 13:45:01 +00:00
trelay kernel: remove kernel modules and references to kernels <= 2.6.36 2012-05-06 20:43:17 +00:00
uboot-ar71xx uboot-ar71xx: add a dependency on the ar71xx target 2011-04-15 15:41:49 +00:00
uboot-envtools uboot-envtools: forgot to remove uboot-envtools.init file 2012-06-04 22:03:00 +00:00
uboot-kirkwood Fixed support for Iomega 2010-10-27 21:24:06 +00:00
uboot-lantiq adds ARV4519PW/ARV7519PW 2012-03-25 08:51:13 +00:00
uboot-omap4 add support for OMAP4 based boards, starting with the PandaBoard 2012-01-14 23:02:56 +00:00
uboot-omap35xx Change u-boot console device to reflect change in omap serial driver 2011-08-19 12:01:30 +00:00
uboot-xburst uboot-{kirkwood,xburst}: Fix typo in U-Boot image name, thanks framer99 (#8112) 2010-10-21 08:54:36 +00:00
ubus ubus: add a missing dependency 2012-06-10 20:27:47 +00:00
uci uci: update to latest version, fixes return code of the cli on various failures 2012-03-28 11:02:30 +00:00
uclibc++ fix ccache related build breakage 2012-06-18 08:50:26 +00:00
udev udev: Provide define to enable compilation with kernel 2.6.32.33 headers 2011-10-14 11:42:40 +00:00
uhttpd uhttpd: finish inherited uloop in forked childs, fixes misdispatched events leading to race conditions and bad memory accesses 2012-06-18 00:41:43 +00:00
usbreset add usbreset - a small simple utility to send port rests to selected usb devices (#10394) 2011-12-25 13:59:17 +00:00
util-linux util-linux: disable udev support, add missing dependencies 2012-06-11 00:56:41 +00:00
vsc73x5-ucode
w1-gpio-custom massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
wireless-tools wireless-tools: remove some more unnecessary stuff from iwconfig 2011-03-18 03:41:22 +00:00
wprobe rename libmisc.a to libipfixmisc.a 2012-06-05 17:49:57 +00:00
wrt55agv2-spidevs wrt55agv2-spidevs: fix build with recent kernel 2011-10-22 10:40:45 +00:00
xfsprogs xfsprogs: disable po files building 2012-04-20 13:25:08 +00:00
yamonenv
zlib zlib: update to 1.2.7 2012-06-09 23:29:28 +00:00
Makefile mklibs: update to 0.1.34 (v2) 2012-06-10 17:07:46 +00:00