1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 12:00:39 +02:00
Commit Graph

22 Commits

Author SHA1 Message Date
cshore
93005b12c5 [package] block-mount: Fixed module loading (double cat is wrong)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-02 18:38:38 +00:00
nico
801c73f8b8 package/blockmount: simplify extroot module loading logic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 13:10:50 +00:00
jow
0efc8cde24 [package] block-mount: remove explicit lock waits, solves some potential race conditions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 18:15:14 +00:00
mirko
ca92e7d97f Revert "[package/block-mount] remove example config file"
This isn't needed anymore due to commit 27138

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-08 20:45:19 +00:00
mirko
3f4aa5554a [package/block-mount] remove example config file
Having this file prevents the possibility of having target-specific
fstab config files (as target/linux/${target}/base-files/etc/config/fstab).
There is no need of a non-working example file on the target anyway.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-08 17:39:16 +00:00
cshore
f6577081a4 [package] block-mount: Reverting 26503. Was already fixed in a better way in commit 26474.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 01:00:14 +00:00
acinonyx
5d875c6c40 [package] block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists.
/etc/functions.sh:pi_include() checks if the argument exists and prints
a warning if not. To prevent this warning if package block-mount is installed
but not package e2fsprogs, the script should check if this directory exists
before calling pi_include()

A wrong patch to suppress this warning was previously posted
with subject:
	[PATCH] Fix typo in name of to be included file

Signed-off-by: Mark Vels <mark.vels@team-embedded.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 20:50:06 +00:00
cshore
3e7449974c [package] block-mount: Merged block-mount, block-extroot, and block-hotplug into a single binary package called block-mount.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 06:40:51 +00:00
cshore
28b23cf59c [package] block-mount block-extroot: Add commands /etc/init.d/fstab overlay_enable and /etc/init.d/fstab whole_root_enable to renable a disable rootfs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 05:39:53 +00:00
cshore
fe8722ec59 [package] block-mount block-extroot: Rename /tmp/rom-disabled to /tmp/whole_root-dsibled for disabled mounts of a non-overlay external rootfs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 05:39:47 +00:00
cshore
11bbdea2f4 [package] block-mount: Changed default filesystem for /e/c/fstab to be ext4 instead of ext3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-14 02:12:38 +00:00
cshore
d4627d82f4 [package] extroot: block-mount block-extroot: Added ability to do a whole disk extroot instead of only an overlay-based extroot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 09:24:24 +00:00
cshore
a97ca43d14 [package] block-mount: Fixed shell error on empty string due to -eq to number for the optional find_root variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 01:46:46 +00:00
cshore
0500928790 [package] block-mount,block-extroot: Modify mount.sh so that block-extroot mounts target /overlay as rootfs (use if is_rootfs is now deprecated) when block-extroot is installed, and as /tmp/overlay-disabled otherwise
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 01:46:24 +00:00
jow
dfc66eb1b5 [package] block-mount: fix fstab.init for IB and buildroot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 15:15:54 +00:00
cshore
848953efdf [package] base/block-extroot, base/block-mount: Modified preinit and block-extroot and
block-mount so that use of block-mount and block-extroot do not require that block-extroot,
block-mount, nor the kernel modules they depend, on are required to included in the image.
That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of
a squashfs system and it will work. 
In addition packages which are installed into the jffs2 of a squashfs system may now affect
preinit, so long as they do not require execution of commands that occur before the merging of
the jffs2 and built-in (squashfs) preinit scripts is done.

Thanks jow for the preinit merge stuff!



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-23 13:58:05 +00:00
cshore
c98e83d466 [package] block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 17:28:50 +00:00
cshore
36d52e89e7 [package]: block-mount: Fixed two bugs in fstab.init. /etc/fstab was used where /tmp/fstab should have been, and locking was insufficiently careful and was such that it could result in deadlock when hotplug was in use.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:35:39 +00:00
cshore
52993b922e [package]: block-mount: Enable swap before doing fsck so that large filesystem checks have swap as well as memory (as they take large memory for large partitions). Closes #7599.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:25:09 +00:00
cshore
7bc978b32b block-extroot, block-mount: Fixed multiple bugs which prevented e2fsck from being executed on the external root filesystem before mounting it as root. Added /etc/e2fsck.conf which indicates that the clock is broken (since most OpenWRT devices don't have a battery backed RTC) so that e2fsck will not exit with fatal error when the rdat has not yet been run (i.e. before network).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 23:09:13 +00:00
cshore
e874a71630 block-mount: Fixed mount deadlocks due to buggy use of locks in /lib/functions/block.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-29 10:07:45 +00:00
nbd
faf7173b4d add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 22:45:39 +00:00