Wojtek Porczyk
bd53eaafbc
make_ext4fs: explicitly call setlocale() before creating image
...
The alphasort(3) function, which is used as comparison function for
scandir(3) is locale dependent (at least in glibc, in which it defers to
strcoll(3)). This patch explicitly calls setlocale(3), setting the
locale to "C".
Currently, there are no other calls to setlocale(), so this does not
change the behaviour. However, we'd like to be sure that in the future
no-one will break that.
Signed-off-by: Wojtek Porczyk <woju@invisiblethingslab.com>
2015-12-02 17:05:03 +01:00
Jo-Philipp Wich
98e3d5c1ce
Add option to link zlib statically
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-14 16:59:23 +02:00
Imre Kaloz
7c15bef6c7
avoid using libc's internal sys/cdefs.h
...
sha1.h simply shouldn't use it while sha1.c simply doesn't
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2015-05-01 18:13:00 +02:00
Jo-Philipp Wich
2f713da924
Remove unused function
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
828ec043d2
Allow specifying reserved blocks percentage
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
67cbf164c7
Remove unused mountpoint support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
e97166fc4a
Remove unused functions
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
d8400e132c
Remove MinGW support code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
5e571bcba6
Remove dead selinux code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
af498dbd68
Support comments in fs config
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
5bb3a9e3de
Support tabs as seaprators when parsing fs config
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
8597212da1
Fix fs configuration support
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
5ba1807f75
Remove Android specific code paths
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
fe8f2ce6f4
Remove references to O_BINARY
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
fe3bfde910
Remove unused files
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
2964e1c736
libsparse: remove unused files
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
c657f39e16
Implement support for block and char dev nodes, fifos and sockets.
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:27 +02:00
Jo-Philipp Wich
62768dbac9
Add required Android includes
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:51:03 +02:00
Jo-Philipp Wich
f5c21f2b2c
Add toplevel Makefile
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:49:53 +02:00
Jo-Philipp Wich
40550da058
libsparse: add Makefile
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:48:01 +02:00
Jo-Philipp Wich
e51257087e
Import libsparse sources
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:47:39 +02:00
Jo-Philipp Wich
58ace71d8c
Remove selinux support code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:42:53 +02:00
Jo-Philipp Wich
fb5c011b49
Import make_ext4fs sources
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:26:16 +02:00