Laurent Vivier
9cb0bca4d3
etch: cast off_t to uintmax_t in printf
...
We use %j modifier in printf to display off_t, but it's defined to use with intmax_t or intmax_t
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-14 18:14:12 +02:00
Laurent Vivier
3f860a13a1
etch: disable unsupported -Wno-XXXX flags
...
-Wno-address-of-packed-member -Wno-stringop-truncation and -Wno-array-bounds
are needed to be able to build with sid, but are not supported by etch
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-14 18:09:52 +02:00
Laurent Vivier
8ad9b19081
Add -Wno-old-style-definition
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-13 17:43:13 +02:00
Laurent Vivier
7c6c6b8f3e
off_t: fix mixed type and printf format
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-13 17:37:14 +02:00
Laurent Vivier
1dcbdde9a9
add -Wno-address-of-packed-member
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-08-13 17:34:59 +02:00
Laurent Vivier
56e4e09c35
add missing break statements
...
The switch statements in emile_scsi_get_dev() and emile-set-output
were missing break statements:
* MAJOR_IDE1 in emile_scsi_get_dev() fell through to default,
resulting in an "Unknown device major number" error.
* ARG_STOPBITS in emile-set-output fell through, so subsequent code
executed within the switch block.
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-06-25 19:12:06 +00:00
Laurent Vivier
c5d80cb382
emile: fix backup file renaming
...
When restoring a bootblock, the path .backup should be renamed to
.backup.old. The sprintf() call mistakenly used the newly allocated
buffer rather than the original path. We now pass backup_path to
sprintf() before renaming the backup file.
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2025-06-25 19:11:35 +00:00
Laurent Vivier
314268632b
tools: remove targets clean and dist
...
We don't need them here as they are imported from Rules.mk
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2017-03-16 20:05:04 +00:00
John Paul Adrian Glaubitz
4722d3550b
tools: fix source path for installation of tools binaries
2017-03-15 22:52:40 +01:00
John Paul Adrian Glaubitz
11bd9223ba
tools: remove Makefile from SOURCES variable
2017-03-15 21:34:14 +01:00
Laurent Vivier
6b81ba9f49
tools: include Rules.mk in Makefile
...
To import CONFIG_E2FSLIBS
2017-02-27 16:41:01 +01:00
Laurent Vivier
53062ff0bf
emile-mktable: force the size of the disk in the table
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-11-11 18:42:51 +01:00
Laurent Vivier
3be63e7001
tools: add tools to set conf path into emiledriver
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-11-10 22:23:53 +01:00
Laurent Vivier
081c7f96ee
libmap: move emile_checksum() to map_checksum()
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-11-08 22:47:21 +01:00
Laurent Vivier
91a43e63c2
Correctly use linux/ext2_fs.h or ext2fs/ext2_fs.h
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-11-08 22:42:27 +01:00
Laurent Vivier
e1d35789fb
tools: create partitions table with EMILE driver
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-11-03 02:00:53 +01:00
Laurent Vivier
7a22506a89
emile-map-set: allow to write flags
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-09-20 23:41:58 +02:00
Laurent Vivier
4de7597e14
Allows to share EMILE directory between several archs
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2015-09-20 23:06:08 +02:00
Laurent Vivier
204bf1d146
emile: add more checks when reading emile.conf
2014-06-01 23:55:12 +02:00
Laurent Vivier
cbe8d0c417
emile-map-set: manage only one driver
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2014-06-01 02:47:21 +02:00
Laurent Vivier
098deb6716
emile-map-set: use O_RDWR to put driver
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2014-05-31 12:20:02 +02:00
Laurent Vivier
1ec58fc07f
cast device_write_sector() to stream_write_sector_t
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2014-05-31 12:19:41 +02:00
Laurent Vivier
4f3aa35240
correctly use config_get_property() in emile-set-output
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2014-05-07 01:38:19 +02:00
Laurent Vivier
9bd9755dbb
Update email address
...
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU >
2013-09-05 14:45:27 +02:00
Laurent Vivier
e1afe443ed
Use ext2_fs.h from e2fslibs-dev package
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2013-09-04 18:10:53 +02:00
Laurent Vivier
14f8dd5556
Remove unused variables (detected with gcc-4.6)
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2011-12-18 14:39:01 +01:00
Laurent Vivier
6bced901e2
include linux/fs.h before linux/ext2_fs.h
...
Signed-off-by: Laurent Vivier <laurent@vivier.eu >
2011-12-18 14:38:58 +01:00
Laurent Vivier
bcd309d505
use temp file to set configuration
2008-08-13 20:17:46 +00:00
Laurent Vivier
57dee88fbf
by default use EMILE driver
2008-08-13 12:29:19 +00:00
Laurent Vivier
b2b8839439
add --config to provide a configuration file
2008-08-12 13:51:49 +00:00
Laurent Vivier
fe0eeaba24
Add --emiledriver to boot second stage of emile in an Apple_Driver partition
2008-08-12 09:22:49 +00:00
Laurent Vivier
6d24a5fb5c
map_read_sector() uses offset from the beginning of the partition, not of the disk
2008-08-12 09:15:00 +00:00
Laurent Vivier
2b81e1f813
Correctly set configuration path
2008-07-29 00:03:47 +00:00
Laurent Vivier
336b5e6e57
correct sprintf parameter signedness
2008-07-28 23:08:38 +00:00
Laurent Vivier
10951f1f27
correct management of filesystem support
2008-07-28 22:53:26 +00:00
Laurent Vivier
489d0f260d
Allow to use "root" in configuration file
2008-07-27 14:59:48 +00:00
Laurent Vivier
f2dd688a89
update help
2008-07-21 23:00:19 +00:00
Laurent Vivier
f1d9f61893
help cosmetic change
2008-07-21 22:44:35 +00:00
Laurent Vivier
ea50cabbb7
help cosmetic change
2008-07-21 22:22:06 +00:00
Laurent Vivier
f14b56a171
help cosmetic change
2008-07-21 22:16:47 +00:00
Laurent Vivier
c528c83701
help cosmetic change
2008-07-21 22:01:39 +00:00
Laurent Vivier
70a7b8ccb4
help cosmetic change
2008-07-21 21:54:41 +00:00
Laurent Vivier
b1ed42201b
correct printf format for st_size
2008-07-08 21:58:50 +00:00
Laurent Vivier
af26501420
add --no-fs, to restore management of container (old behavior)
2008-04-21 19:50:25 +00:00
Laurent Vivier
a333f52121
add args property, make some cleanup
2008-04-21 19:49:13 +00:00
Laurent Vivier
68b7b1f4dd
use stream_* structures instead of specific ones
2008-04-20 16:35:55 +00:00
Laurent Vivier
fff0ca295b
use libconfig
2008-04-16 18:32:17 +00:00
Laurent Vivier
f5d95ed881
Avoid offset overflow on disk bigger than 2 GB
2008-04-12 22:15:20 +00:00
Laurent Vivier
b1594201cb
Add tools for ext2
2008-04-12 21:19:32 +00:00
Laurent Vivier
3969b083c7
Correctly manage chainloader
2008-02-25 21:49:18 +00:00