#
e05876e2 |
|
31-Jan-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
makebootable: Include Drivers.h only for TARGET_PLATFORM_HAIKU. It is not needed otherwise.
|
#
40ee778c |
|
12-Feb-2019 |
Rob Gill <rrobgill@protonmail.com> |
Fix memory leaks * Delete/free as appropriate Most cases involve not freeing memory after encountering error or unexpected situation (identified via cppcheck static analysis) Change-Id: I90ba2fca518b00d2dfa9ec1ddbcebe1920a34b7c Reviewed-on: https://review.haiku-os.org/c/haiku/+/1038 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
ed7204fa |
|
13-Dec-2019 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
gpt: Correct naming. efi_* also conflicts with some efi headers Change-Id: I19b5b2c4609da8474b26588ae8d7d4caf72a826b Reviewed-on: https://review.haiku-os.org/c/haiku/+/2018 Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
|
#
f7989c02 |
|
15-Oct-2018 |
Murai Takashi <tmurai01@gmail.com> |
Correct comment Change-Id: I529322e5862bc731ce1775a046ec21106e14c352 Reviewed-on: https://review.haiku-os.org/629 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
42f25fe9 |
|
04-Jun-2015 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
makebootable: add support for GPT partition tables; fixes #9291 * with #4028 implemented, we can now use makebootable on GPT formatted disks as well.
|
#
a3a6fd83 |
|
03-Dec-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
makebootable: remove outdated "compatibility" options. Fixes #3779.
|
#
204dee70 |
|
09-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use libbe_build also on Haiku This means the build tools will no longer be built against the host platform's libbe, which avoids compatibility problems -- e.g. an older Haiku host libbe may not have certain features the build tools require -- and also makes the build behave more similiar on Haiku and other platforms. The host libroot dependency still remains and is not easy to get rid of. Also remove some bits of BeOS/Dano/Zeta build support.
|
#
cf844822 |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added B_PRIdTIME and B_PRIiTIME macros (for time_t). * Added FSSH_[S]SIZE_MAX to headers/private/fs_shell/fssh_types.h. * Fixed various 64 bit compiler warnings. Nothing too serious, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34241 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb7c02c2 |
|
25-Aug-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Under Linux use BLKGETSIZE64 to get the device size, now, and only when that fails fall back to HDIO_GETGEO. This hopefully fixes #3122, as I suspect HDIO_GETGEO returned an incorrect size. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32674 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f1f6eacd |
|
24-Aug-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
On Linux, FreeBSD, and friends print the partition map, if we could parse it, but failed to get the specified partition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32662 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d467366 |
|
31-Jul-2009 |
Fredrik Modeen <fredrik@modeen.se> |
This fixes when I try to makebootable after building Haiku from Zeta. I don't get "Error: Specifying directories not supported on this platform!" now. Also includes some added \n. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32011 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
199f3324 |
|
13-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed SECTOR_SIZE in the read-only part of the intel partition scanner; however, it's still used in the write part. * Made the read-only code block size agnostic. Only tested with an Apple iPod so far, and it recognizes its partition fine now. Next test on real hardware. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30155 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c33667d4 |
|
01-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing warnings under GCC4 in preparation to enable -Werror there as well: * Replaced the use of offsetof() for structs that aren't PODs. Add a offset_of_member() macro to util/khash.h because that's what it's used for in our cases. * Change the signature of add_debugger_command()/remove_debugger_command() on GCC > 2 to avoid the depricated conversion from string constants to char *. * Adding some "suggested" parenthesis. I know that not everyone likes that, but it pointed out at least one bug that is fixed here as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
21055357 |
|
31-Oct-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Artur Wyszynski: Added support for partitions in Darwin. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28404 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bc3955fe |
|
23-Oct-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Preparations for removing __BEOS__ from the compiler defines. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c7cf1688 |
|
13-Oct-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* makebootable now checks if the partition/image/device is mounted via the disk device API, and if that is the case, it will use the private BFS_IOCTL_UPDATE_BOOT_BLOCK ioctl to update the boot code. * Fixed inconsistent naming of "Bootcode" vs. "BootCode". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28054 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
878cc304 |
|
17-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Follow Axel's example in r27000 and use addr_t here. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27007 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
da3c3879 |
|
16-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Slightly more defensive approach to searching for the image. Thanks Axel :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26995 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6296f36b |
|
15-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Use __HAIKU__ instead of HAIKU_HOST_PLATFORM_HAIKU since apparently the latter doesn't get defined when cross compiling. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26989 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
99b25014 |
|
15-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Do this somewhat differently so as to not break makebootable on non-Haiku hosts. Thanks to luroh for pointing this out. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26988 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
adf42886 |
|
15-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Use get_next_image_info to resolve the path to the executable. This fixes the problem that makebootable will not work unless run with an absolute path. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26987 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6fd31acc |
|
15-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
makebootable was broken under Haiku: * Haiku partitions are block devices. * Unlike BeOS Haiku requires a size parameter to be passed to ioctl() for B_GET_PARTITION_INFO. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24972 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d54b6c4 |
|
29-Mar-2008 |
Jérôme Duval <korli@users.berlios.de> |
followed Ingo and Marcus' suggestion : be nice when called on file names shorter than raw, or when called in the device directory git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24653 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
efb7e170 |
|
28-Mar-2008 |
Jérôme Duval <korli@users.berlios.de> |
assume the partition offset is zero when the device name terminates with /raw git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76a93187 |
|
29-Mar-2008 |
Jérôme Duval <korli@users.berlios.de> |
missing new line git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24639 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a17d1cf4 |
|
17-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
axeld + bonefish: Added parameter --start-offset to allow writing the boot code not only at the beginning of the given file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
80b2da5e |
|
05-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Samuel Rodriguez Perez: Added support for writing Haiku directly onto a device under FreeBSD. I messed around with the code a little (style-fixes, some refactoring) without being able to compile or test it, so be careful... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23880 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
db5c68ca |
|
04-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added the partition size as parameter to the file and partitioning system initialize() hooks. It's often the only info about the partition one needs and thus locking the partition just to get it is no longer necessary. * intel partitioning system: - Removed passing around block sizes. We require 512 byte sectors anyway. In fact using the parent partition's block size was even wrong. - Simplified writing the partition map sector. - Simplified and corrected the partition map initialization. - We don't fail identifying a partition anymore, if the partition map contains no partitions. We would never identify a freshly initialized partition map before. - Made pm_identify() more intelligent: It determines the priority to return depending on whether the partition is the device itself and whether we have recognized child partitions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22447 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
361a19cd |
|
24-May-2007 |
Axel Dörfler <axeld@pinc-software.de> |
makebootable didn't work correctly on BeOS: the partition offset was divided by the block size once too often. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21228 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
39bdbadf |
|
18-May-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
If the boot code couldn't be found in makebootable's resources, it tries to load it from an attribute ("BootCode"). On Darwin we write the boot code into this attribute. This should solve the problem that writing resources into the makebootable file renders it not executable there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21170 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04fcc147 |
|
29-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Small fixes. * Added --dry-run option for paranoid ones like me. * Added support for making partition devices bootable under Linux (x86, BIOS). When specifying respective values for HAIKU_IMAGE_{DIR,NAME} ("/dev" and e.g. "sda7") a "jam haiku-image" will now replace the contents of your favorite partition with a fresh Haiku installation. BE WARNED: This is nothing for the faint of heart and I don't guarantee that my implementation is bug-free and won't mangle the contents of your hard disk even if you use it correctly. That being said, note that you'll probably have to run the "jam haiku-image" as root, if you want to access the partition devices, which is a bit annoying. Furthermore, if the build_haiku_image script fails for any reason, jam tends to remove the image file, which in this case would be a partition device node. The mknod command will be your friend in this case. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16148 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338b8dc3 |
|
29-Oct-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged changes from branch build_system_redesign at revision 14573. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
42f25fe91bce590ec592fc1b0bdaba3e2356fe37 |
|
04-Jun-2015 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
makebootable: add support for GPT partition tables; fixes #9291 * with #4028 implemented, we can now use makebootable on GPT formatted disks as well.
|
#
a3a6fd837aa06942cf7e92f9ffb2c359f796f694 |
|
03-Dec-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
makebootable: remove outdated "compatibility" options. Fixes #3779.
|
#
204dee708a999d5a71d0cb9497650ee7cef85d0a |
|
09-May-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use libbe_build also on Haiku This means the build tools will no longer be built against the host platform's libbe, which avoids compatibility problems -- e.g. an older Haiku host libbe may not have certain features the build tools require -- and also makes the build behave more similiar on Haiku and other platforms. The host libroot dependency still remains and is not easy to get rid of. Also remove some bits of BeOS/Dano/Zeta build support.
|
#
cf844822db58eed3db11f93243e38503eb1a4b91 |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added B_PRIdTIME and B_PRIiTIME macros (for time_t). * Added FSSH_[S]SIZE_MAX to headers/private/fs_shell/fssh_types.h. * Fixed various 64 bit compiler warnings. Nothing too serious, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34241 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb7c02c21519887344c197d64344b5d8e127a9fa |
|
25-Aug-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Under Linux use BLKGETSIZE64 to get the device size, now, and only when that fails fall back to HDIO_GETGEO. This hopefully fixes #3122, as I suspect HDIO_GETGEO returned an incorrect size. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32674 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f1f6eacd46368728f67138dd5469ea449bd5b42e |
|
24-Aug-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
On Linux, FreeBSD, and friends print the partition map, if we could parse it, but failed to get the specified partition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32662 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d4673660f500b1f2653c1667470d4742b76bf7c |
|
31-Jul-2009 |
Fredrik Modeen <fredrik@modeen.se> |
This fixes when I try to makebootable after building Haiku from Zeta. I don't get "Error: Specifying directories not supported on this platform!" now. Also includes some added \n. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32011 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
199f33248dcde6cb2803ee4bd5938817ed30239e |
|
13-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed SECTOR_SIZE in the read-only part of the intel partition scanner; however, it's still used in the write part. * Made the read-only code block size agnostic. Only tested with an Apple iPod so far, and it recognizes its partition fine now. Next test on real hardware. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30155 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c33667d400856680a8e0122300861eda77d1847a |
|
01-Feb-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing warnings under GCC4 in preparation to enable -Werror there as well: * Replaced the use of offsetof() for structs that aren't PODs. Add a offset_of_member() macro to util/khash.h because that's what it's used for in our cases. * Change the signature of add_debugger_command()/remove_debugger_command() on GCC > 2 to avoid the depricated conversion from string constants to char *. * Adding some "suggested" parenthesis. I know that not everyone likes that, but it pointed out at least one bug that is fixed here as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
210553573fe0ee83926ccc3ee027254deac1ac54 |
|
31-Oct-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Artur Wyszynski: Added support for partitions in Darwin. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28404 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bc3955fea5b07e2e94a27fc05e4bb58fe6f0319b |
|
23-Oct-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Preparations for removing __BEOS__ from the compiler defines. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28305 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c7cf16883efdb3599ac0b96622f97431ee3b8345 |
|
13-Oct-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* makebootable now checks if the partition/image/device is mounted via the disk device API, and if that is the case, it will use the private BFS_IOCTL_UPDATE_BOOT_BLOCK ioctl to update the boot code. * Fixed inconsistent naming of "Bootcode" vs. "BootCode". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28054 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
878cc30445398c71ccfba90dabf66932f3530b40 |
|
17-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Follow Axel's example in r27000 and use addr_t here. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27007 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
da3c38792b69d3429a4b26b109ab99f16eb7e980 |
|
16-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Slightly more defensive approach to searching for the image. Thanks Axel :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26995 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6296f36bc34e1c8c69856942d965513439a3311a |
|
15-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Use __HAIKU__ instead of HAIKU_HOST_PLATFORM_HAIKU since apparently the latter doesn't get defined when cross compiling. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26989 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
99b25014bb5f240610dbce13b5f73dc30262b0c9 |
|
15-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Do this somewhat differently so as to not break makebootable on non-Haiku hosts. Thanks to luroh for pointing this out. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26988 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
adf42886f2bcbe6b933e19d337ceeeddc7b1a382 |
|
15-Aug-2008 |
Rene Gollent <anevilyak@gmail.com> |
Use get_next_image_info to resolve the path to the executable. This fixes the problem that makebootable will not work unless run with an absolute path. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26987 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6fd31accd3a961640a0674738bc0aff23e50113a |
|
15-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
makebootable was broken under Haiku: * Haiku partitions are block devices. * Unlike BeOS Haiku requires a size parameter to be passed to ioctl() for B_GET_PARTITION_INFO. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24972 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5d54b6c408dd1b77547d3733578a645d539bdc88 |
|
29-Mar-2008 |
Jérôme Duval <korli@users.berlios.de> |
followed Ingo and Marcus' suggestion : be nice when called on file names shorter than raw, or when called in the device directory git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24653 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
efb7e1703e0433c6ac0fa5ddd218a84b37408f52 |
|
28-Mar-2008 |
Jérôme Duval <korli@users.berlios.de> |
assume the partition offset is zero when the device name terminates with /raw git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76a931875816c9411c19cd1f82009f611d136a1a |
|
29-Mar-2008 |
Jérôme Duval <korli@users.berlios.de> |
missing new line git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24639 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a17d1cf43eef7c9e29ad2b89cc2e526664940f5d |
|
17-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
axeld + bonefish: Added parameter --start-offset to allow writing the boot code not only at the beginning of the given file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23971 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
80b2da5e53ba827b90cf70374c0aaf73cd95abf3 |
|
05-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Samuel Rodriguez Perez: Added support for writing Haiku directly onto a device under FreeBSD. I messed around with the code a little (style-fixes, some refactoring) without being able to compile or test it, so be careful... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23880 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
db5c68ca46ce6f291fa5c047035418f6ccc89817 |
|
04-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added the partition size as parameter to the file and partitioning system initialize() hooks. It's often the only info about the partition one needs and thus locking the partition just to get it is no longer necessary. * intel partitioning system: - Removed passing around block sizes. We require 512 byte sectors anyway. In fact using the parent partition's block size was even wrong. - Simplified writing the partition map sector. - Simplified and corrected the partition map initialization. - We don't fail identifying a partition anymore, if the partition map contains no partitions. We would never identify a freshly initialized partition map before. - Made pm_identify() more intelligent: It determines the priority to return depending on whether the partition is the device itself and whether we have recognized child partitions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22447 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
361a19cd9487374fc9ccf91bca2baf8d5661d035 |
|
24-May-2007 |
Axel Dörfler <axeld@pinc-software.de> |
makebootable didn't work correctly on BeOS: the partition offset was divided by the block size once too often. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21228 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
39bdbadf398652d036208336af8c3b2f766d4514 |
|
18-May-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
If the boot code couldn't be found in makebootable's resources, it tries to load it from an attribute ("BootCode"). On Darwin we write the boot code into this attribute. This should solve the problem that writing resources into the makebootable file renders it not executable there. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21170 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04fcc147ca2ab29344fa77509b88bab29a76e2b8 |
|
29-Jan-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Small fixes. * Added --dry-run option for paranoid ones like me. * Added support for making partition devices bootable under Linux (x86, BIOS). When specifying respective values for HAIKU_IMAGE_{DIR,NAME} ("/dev" and e.g. "sda7") a "jam haiku-image" will now replace the contents of your favorite partition with a fresh Haiku installation. BE WARNED: This is nothing for the faint of heart and I don't guarantee that my implementation is bug-free and won't mangle the contents of your hard disk even if you use it correctly. That being said, note that you'll probably have to run the "jam haiku-image" as root, if you want to access the partition devices, which is a bit annoying. Furthermore, if the build_haiku_image script fails for any reason, jam tends to remove the image file, which in this case would be a partition device node. The mknod command will be your friend in this case. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16148 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
338b8dc301721b1f472e8297a898d4eaa2f2ee3a |
|
29-Oct-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merged changes from branch build_system_redesign at revision 14573. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
|