Commit Graph

111 Commits (1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e)

Author SHA1 Message Date
John Crispin bb00c0a33c fstools: update to latest git HEAD
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin e4bad7953b fstools: fix missing dependency
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 6ccf400be1 fstools: split snapshot-tool into its own package
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin fd7e15d493 fstools: remove bogus warning in the fstab script
/etc/init.d/fstab had some warnings in it to let users know that they
should call "block mount" directly. these ended up in the bootlog.
fix this by splitting the code into boot() and start(). this way the system
will boot without warning but manually starting the script will lead to the
message.

fixes FS#3

Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 62dc9831d3 package/*: update git urls for project repos
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 5dc80cbcff fstools: update to latest git version
* adds support for ACL mount flags
* adds vfat fsck support

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 474d62e31d fstools: update to latest git HEAD
the recent fixes to make mount_root work during failsafe caused lots of
unwanted side effects. use the new preinit sentinel file to detect if
we are in preinit. this will also work if logged in via ssh.

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin b8ab6af1a9 global: change my email address
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 26898d2a7f fstools: update to latest git revision
This fixes mount_root in failsafe and reverts a ext4 overlay patch.

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 33de8c77e2 fstools: fix snapshot support
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 0fae7270cf fstools: update to latest git HEAD
fixes snapshot support

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin c9e3cd798d fstools: update to latest git HEAD
this adds the remount command to the block tool

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Jo-Philipp Wich 80c1cfeddc fstools: respect mount flags for /overlay mounts
Respect user configured mount flags such as "ro" or "sync" when processing
external overlay mount points.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

SVN-Revision: 49223
8 years ago
Felix Fietkau 8c138d4ae8 fstools: fix off-by-one error in the version number
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48193
8 years ago
Felix Fietkau cb42ea1c70 fstools: update to the latest version, fixes filesystem state rewrite on every boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48191
8 years ago
Felix Fietkau 94f47d4d17 fstools: move to git.openwrt.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48123
8 years ago
John Crispin 6f14878491 fstools: update to latest git HEAD
adds stacked ram overlays.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48001
9 years ago
Hauke Mehrtens 8a7f23901e fstools: update fstools to version 2015-11-22
This version fixes a potential uncontrolled format string problem. This
makes it possible to activate the format security check.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47598
9 years ago
John Crispin 12e0d2737f fstools: update to latest git HEAD
update libblkid code and add support for F2SF

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47353
9 years ago
John Crispin 08e0621f4e fstools: update to latest git revision
jffs2reset was following symlinks making it delete mounts for example.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46960
9 years ago
John Crispin 8503f34ce8 fstools: fstab.init fix spelling
fix a very minor typo in warning message

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>

SVN-Revision: 46273
9 years ago
Felix Fietkau 85d5ada56f fstools: update to the latest version, makes filesystem initialization state tracking more reliable (#19564)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45751
9 years ago
John Crispin 88593747cc fstools: update to latest git HEAD
fixes issues with semi-initialized overlay partitions during firstboot

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45440
9 years ago
Jo-Philipp Wich b0b95e0dd7 fstools: reject relative mount points
To prevent future confusion around '/overlay' vs. 'overlay' simply reject
relative path specifications as mount points since such paths result in
undefined behaviour anyway.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45404
9 years ago
John Crispin 19b239d643 fstools: update to latest git HEAD
this fixes extroot on mvebu

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45341
9 years ago
Nicolas Thill fe46689f10 packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45250
9 years ago
John Crispin 08b882fbae fstools: properly handle return codes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45149
9 years ago
Felix Fietkau 889e1e4bff fstools: update to the latest version, makes interrupted first boot more reliable
Use xattr to store the filesystem initialization state of the overlay.
As long as the filesystem is not marked as initialized yet (happens in
/etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be
discarded before the system is allowed to boot

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44942
9 years ago
Nicolas Thill 4b382a440b packages: some (e)glibc fixes after r44701
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44842
9 years ago
John Crispin a7d6427796 fstools: bump to latest git HEAD
this makes fstools compile with latest glibc

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44699
9 years ago
Jo-Philipp Wich 46432b13b6 fstools: switch to ulog api
Update to git head in order to switch the block, mount_root etc. logging to
the common ulog() api for putting early boot messages into dmesg.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44545
9 years ago
Jo-Philipp Wich ff009fb74c fstools: fix build with enabled ubifs extroot support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44538
9 years ago
Jo-Philipp Wich b2eb77089b fstools: fix multiple extroot problems
- Support external overlays on non-MTD systems again
- Account for new directory structure of overlayfs partitions (additional upper/ component)
- Support executing block from either overlay or rom
- Support loading fstab from either overlay or rom
- Log extroot failures to dmesg

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44535
9 years ago
Jo-Philipp Wich 772a664571 fstools: fix exit code of uci-defaults script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44180
9 years ago
Rafał Miłecki 3e0817d606 fstools: update to the latest git HEAD
This allows using UBIFS volume as overlay and adds support for Btrfs.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43868
9 years ago
John Crispin 40e2dbf9c6 fstools: update to latest git HEAD
adds a few cleanups and extroot/ubi support

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43717
10 years ago
Felix Fietkau b8dd6bb189 fstools: update to the latest version, fixes sysupgrade on linux 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43485
10 years ago
John Crispin 4c044e8118 fstools: make the block tool ignore case when comparing uuid strings
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43480
10 years ago
Felix Fietkau 623f3bda54 fstools: update to the latest version, fixes overlayfs mount on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43368
10 years ago
John Crispin 74a3a77bcd license info - revert r43155
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43167
10 years ago
John Crispin c10d97484a Add more license tags with SPDX identifiers
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43155
10 years ago
Steven Barth bec9d38fa4 Add a few SPDX tags
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43151
10 years ago
John Crispin 51f8a1cfc5 fstools: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43090
10 years ago
John Crispin 20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42911
10 years ago
John Crispin 80a54ef804 fstools: update to latest git HEAD
this adds support for overlayfs v23

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42890
10 years ago
John Crispin 635c9d7a25 fstools: update to latest git
adds support for /dev/vd* virtual io

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42812
10 years ago
John Crispin ac01f2b9d6 fs-tools: dont use mips16
this causes problems on 47xx/74k

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42570
10 years ago
Felix Fietkau b3b55de395 build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
The idea is to gradually fix the packages

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 41411
10 years ago
John Crispin c2d95d4106 fstools: fix factory reset on ubifs overlay
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41315
10 years ago
John Crispin 3417834ffc fstools: the ubi flash tool is obselete now
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41128
10 years ago
John Crispin 85b8897d1a fstools: stage libubi-utils static library and headers
Use InstallDev to make libubi-utils available for linking in
uboot-envtools.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40928
10 years ago
Felix Fietkau 118eec12e8 fstools: update to latest version, fixes build on x86_64
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40902
10 years ago
Felix Fietkau 11462369af fstools: update to the latest version, fixes build for 64 bit targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40889
10 years ago
Luka Perkov a1038db845 fstools: update to the latest version
Fixes RO mounts on imx6 target.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40818
10 years ago
Felix Fietkau 00776714ac fstools: update to the latest version, adds ubifs support and ubi/mtd fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40781
10 years ago
Jo-Philipp Wich 7bfcbab875 fstools: fix extroot with opkg-installed block-mount (#15550)
The /sbin/block binary now requires and additional shared library, therfore set
LD_LIBRARY_PATH accordingly when invoking it from the temporary overlay.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40526
10 years ago
John Crispin eb19a65bd2 fstools: update to latest git HEAD
this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40415
10 years ago
John Crispin 306e0fd866 fstools: scripts should propagate the cmdline
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 40383
10 years ago
John Crispin 69519ed75f fstools: update to latest git
this fixes ubifs and ubi overlay support

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40366
10 years ago
John Crispin ec44a0f11e fs-tools: add back mount_root, jffs2reset and ffs2mark functionality
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40018
10 years ago
John Crispin 0dc9d8d6ff fstools: add the new fstools package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39895
10 years ago