summaryrefslogtreecommitdiffstats
path: root/fs
Commit message (Collapse)AuthorAgeFilesLines
* jffs2: let makedevs create device filesThomas Petazzoni2010-06-051-4/+0
| | | | | | | | | | | | | | | | | | | | | | The common filesystem infrastructure in fs/common.mk uses a smart combination of makedevs and fakeroot to create the device files in the target filesystem images without being root. This technique is applied to all filesystem formats that rely on this common infrastructure, and JFFS2 is one of them. Therefore, using the -D option of mkfs.jffs2, which allows to specify a device table, is redundant with the usage of makedevs. And it is worst than redundant: for some reason, -D does not create all device files with the correct major and minor numbers, as reported in bug #1771. For coherence, we just remove the usage of mkfs.jffs2 -D option, and rely on makedevs/fakeroot to create the device files. This commit fixes bug #1771. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'graph-dependencies' of ↵Peter Korsgaard2010-05-271-0/+3
|\ | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot
| * Add a <fs>-root-show-depends targetThomas Petazzoni2010-05-211-0/+3
| | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | fs/squashfs: squashfs3 needs to set big/little endianPeter Korsgaard2010-05-261-2/+10
|/ | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initramfs: fix init symlinkWill Wagner2010-04-201-0/+2
| | | | | | | | When initramfs was ported to the new fs structure the init symlink macro was defined, but forgot to add it to PRE_GEN_HOOKS Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Repair initramfs dependancies after move to fsWill Wagner2010-04-201-0/+6
| | | | | | | | | | The restructure for building root filesystems changed the target name for the initramfs file, to build the file the trget is now initramfs-root but the generated file is rootfs.initramfs Signed-off-by: Will Wagner <will_wagner@carallon.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* makedevs: convert to a more normal way of building packagesThomas Petazzoni2010-04-191-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs/ext2: fix blocks/inodes calculationPeter Korsgaard2010-04-192-11/+41
| | | | | | | | | | | With the ROOTFS_TARGET conversion, EXT2_OPTS gets evaluated very early (before TARGET_DIR is populated with files), so the calculated blocks/inodes numbers are wrong. Fix it by moving the calculation to a shell script wrapper around genext2fs, so it only gets executed just before genext2fs runs. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/ext2: fix typoPeter Korsgaard2010-04-191-1/+1
| | | | | | | | | BR2_TARGET_ROOTFS_EXT2_RESBLKS is an int, so test against 0 rather than the empty string - Otherwise the test is always true and a -m option without arguments is added to the argument list, causing genext2fs to get confused. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cramfs/jffs2: use the new ROOTFS_DEVICE_TABLE variableThomas Petazzoni2010-04-172-4/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs: change the way the device table is configuredThomas Petazzoni2010-04-172-2/+11
| | | | | | | | | | | | | | | | Until now, the location of the device table was specified by a variable in board Makefiles. Unfortunately, this variable is not accessible from fs/common.mk, since the target/ code is included *after* fs/common.mk. Anyway, the general idea is to move away from these boards Makefile, and provide configuration option for things like the device table location. Therefore, this patch adds a BR2_ROOTFS_DEVICE_TABLE option which allows to specify which device table should be used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* iso9660: menu.lst fixup after move to fsPeter Korsgaard2010-04-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* initramfs: trivial fix following move to fsWill Wagner2010-04-151-1/+1
| | | | | Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add version selection for the SquashFS root filesystemThomas Petazzoni2010-04-092-0/+23
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs/*/Config.in: remove useless configuration commentsThomas Petazzoni2010-04-094-27/+0
| | | | | | | The dependency on gzip, bzip2 and lzma are properly handled automatically. No need to tell the user about this. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Coherent naming for .mk files in fs/Thomas Petazzoni2010-04-096-0/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Move all filesystem generation code to fs/Thomas Petazzoni2010-04-0926-0/+1010
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>