Go to file
Carlos Santos 742d6bf13e e2fsprogs: refactor to fix conflicts with busybox and util-linux
So far we attempted to solve the conflicts between busybox and e2fsprogs
by removing busybox programs from /bin and /sbin, leaving the e2fsprogs
ones at /usr/bin and /usr/sbin. This fails with BR2_ROOTFS_MERGED_USR=y,
leading to situations like the one described in bug 9436.

We could provide a better solution by means of a fine-grained selection
of programs, like util-linux does, but this would require big changes in
e2fsprogs. So instead of resorting to dirty tricks we switch to a more
pragmatic approach:

- Drop all configs to select/deselect utilities without corresponding
  enable/disable options to the configure script. In other words, we
  always install the basic set of utilities.

- fsck has a configure option, so use it. Note that --enable-fsck is
  only about the wrapper, not about e2fsck.

- Install e2fsprogs utilities at /bin and /sbin, overriding the ones
  eventually installed by busybox.

- Let the e2fsprogs build system create the symlinks mkfs.ext2 -> mke2fs
  etc.  fsck.ext4dev and mkfs.ext4dev were dropped in version 1.43.4.

Notice that these changes do exactly the opposite of what is requested
in bug 9436. On the other hand the policy for e2fsprogs becomes coherent
with the one for util-linux: busybox never wins.

Fixes:
  https://bugs.busybox.net/show_bug.cgi?id=9436 (no fix, in fact)

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Arnout:
 - don't add 'default y' to resize2fs;
 - don't install the host package in /bin instead of /usr/bin - we
   install everything under /usr (until /usr will be removed, soon)]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-04 22:26:57 +02:00
arch arch, linux, package: remove whitespaces 2017-03-29 23:30:37 +02:00
board configs: add raspberrypi3 64bits defconfig 2017-05-04 09:25:20 +02:00
boot uboot: fix target uboot defconfig warning 2017-04-22 15:05:50 +02:00
configs configs: add raspberrypi3 64bits defconfig 2017-05-04 09:25:20 +02:00
docs docs/website: update for 2017.02.2 2017-05-02 22:18:16 +02:00
fs ext2: add help text for BR2_TARGET_ROOTFS_EXT2_BLOCKS 2017-05-04 17:15:13 +02:00
linux linux: bump default to version 4.11 2017-05-01 10:45:35 +02:00
package e2fsprogs: refactor to fix conflicts with busybox and util-linux 2017-05-04 22:26:57 +02:00
support genimage.sh: fix calling from BR2_ROOTFS_POST_IMAGE_SCRIPT 2017-04-27 22:55:52 +02:00
system system: do not overwrite /bin/sh Busybox symlink 2017-03-29 23:28:58 +02:00
toolchain toolchain: add 4.11.x choice for headers 2017-05-01 20:54:42 +02:00
.defconfig
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: refresh after rename of Synopsys ARC defconfigs 2017-04-16 10:39:35 +02:00
.gitlab-ci.yml.in gitlab-ci: add gcc-multilib to the docker image 2017-03-10 14:22:25 +01:00
CHANGES Update for 2017.02.2 2017-05-02 21:58:34 +02:00
Config.in
Config.in.legacy openocd: bump to 0.10.0 2017-04-29 14:59:00 +02:00
COPYING
DEVELOPERS lua-resty-http: new package 2017-05-04 22:23:19 +02:00
Makefile core: add rule to dump packages' build order 2017-04-13 23:09:08 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches