Commit Graph

71 Commits

Author SHA1 Message Date
bjorn3
2f62f6d876 Set umask to 022 while building disk images
This matches the default umask that would actually be used at runtime.
It ensures only the owner has write permissions to system files and
directories rather than owner and group. The Arti tor implementation
checks that /home is not writable for anyone other than the owner.
2026-10-28 20:52:50 +01:00
Wildan M
69dc41a1d8
Prevent running QEMU if disk mounted 2026-05-08 19:30:35 +07:00
Wildan M
da6b4b3b17
Make disk mounting easier to verify 2026-01-23 08:02:48 +07:00
Wildan M
369237d3dd
Fix push and improve mount messages 2025-11-21 08:44:02 -08:00
Wildan M
6c8a9c894a
Make fstools in podman opt in and install rust on host again 2025-11-19 11:18:48 -08:00
Wildan M
154c7bf4bf Move installer behind podman 2025-11-10 13:22:42 +07:00
Jeremy Soller
0f06d86f5a
Add mount_live target 2025-10-10 11:26:00 -06:00
Wildan M
a521b5fc8c Add push recipe to existing image 2025-09-04 23:37:38 +07:00
bjorn3
fb64e5e9b8 Use the build dir as tftproot and build a suitable tftproot when building the live disk 2025-06-22 20:23:28 +02:00
bjorn3
d2fde06fd1 Rename livedisk.iso to redox-live.iso 2025-06-22 20:20:09 +02:00
bjorn3
ccb1509f00 Rename redox-live.img to redox-live.iso 2025-06-22 20:13:59 +02:00
bjorn3
41b51f692a Add support for netboot
This includes building a tftp root and using it with qemu.
2025-06-01 20:54:56 +02:00
Ron Williams
daf4a0f730 Fix typo 2025-04-23 21:34:02 -07:00
Ron Williams
cf9a0085be Improve host vs container separation of fstools 2025-04-24 04:28:15 +00:00
Jeremy Soller
5e2bc43891
Build installer and redoxfs for host outside of podman 2025-04-23 17:40:56 -06:00
Jeremy Soller
f4fe37478f
Minor cleanup of fstools 2025-04-23 09:33:25 -06:00
Ron Williams
f51dee2ea1 Make installer compile on host, list_packages compile in Podman when PODMAN_BUILD=1 2024-08-17 23:59:37 +00:00
Ribbon
49102f6332 Add explanation comments on the build system files 2024-07-09 12:58:07 +00:00
bjorn3
cf04f50d86 Use sparse files for the generated disk images on all OSes
Rather than just on macOS. This can save quite a bit of space depending
on the amount of free space on the root filesystem of the disk image.
2024-01-08 19:09:51 +01:00
Will Angenent
09eca87a41 Fix missing ftruncate on MacOS 2023-04-02 11:16:09 +01:00
Ron Williams
be957aa4d7 enable build from mixed source/binary packages 2023-03-09 23:30:33 -08:00
Ron Williams
374e37d5b9 Improve dependencies on build tools 2023-03-06 12:41:45 -08:00
Jeremy Soller
9232e4282a
Build images in directory per arch, remove bochs 2022-11-10 12:06:24 -07:00
Ron Williams
0664d93e0f Unmount /tmp/redox_installer during make unmount 2022-10-06 04:01:07 -07:00
Ron Williams
b47af54b9e delete /tmp/redox_installer at every opportunity 2022-10-03 08:46:01 -07:00
Jeremy Soller
8e6b2f7a85
Fix missing build directory when using REPO_BINARY 2022-09-12 07:52:50 -06:00
Jeremy Soller
939b650125
Build repository outside of installer 2022-09-12 07:51:13 -06:00
Jeremy Soller
fedf98375c Support creation of isolated filesystem images 2022-09-07 19:36:52 -06:00
Jeremy Soller
087825fa8b
Refactor of disk image handling 2022-09-07 08:28:12 -06:00
Jeremy Soller
ebf1983b6f Build ISO using HD emulation 2022-09-06 15:50:25 -06:00
Jeremy Soller
47c0b7edad
Update to use installer to produce disk images with bootloader 2022-09-05 09:24:17 -06:00
Jeremy Soller
fd45421a30 Fix disk creation on i686 2022-08-28 15:40:01 -06:00
Jeremy Soller
68c91c801f Support booting both BIOS and UEFI from the same image 2022-08-28 15:24:34 -06:00
Jeremy Soller
231d10a83c
Always use live disk for aarch64 2022-08-26 11:30:14 -06:00
Jeremy Soller
5cb8411166
Get QEMU to run UEFI aarch64 2022-07-29 12:13:32 -06:00
Jeremy Soller
ed5d2783a2
Move live disk support from kernel to bootloader 2022-02-10 15:52:15 -07:00
Jeremy Soller
061cee89e1
Cleanup filesystem-live build target 2022-02-10 13:32:05 -07:00
Jeremy Soller
2731354a9b
Add livedisk-efi.bin target, remove unsupported livedisk-efi.iso target 2022-02-10 12:12:38 -07:00
Jeremy Soller
42cc61803c
Fix live disk and ISO 2022-02-07 20:20:03 -07:00
Jeremy Soller
35cd0b2ab0
WIP changes for rust bootloader 2022-02-07 17:13:28 -07:00
Jeremy Soller
f644c0d883
Use /sbin/parted to call parted. This might need to be improved with automatic detection of the parted location later 2021-01-21 15:49:22 -07:00
Jeremy Soller
23adc0ddc7
Remove old EFI harddrive target 2020-11-22 21:12:32 -07:00
Jeremy Soller
1b7fe5e233
Make default image use MBR partition table 2020-11-22 21:08:43 -07:00
Jeremy Soller
1bac098cc0
Format harddrive-efi.bin target 2020-01-21 19:52:22 -07:00
Jeremy Soller
c91465dc1c
Make harddrive-efi.bin target run in a single shell instance 2020-01-21 19:50:15 -07:00
Jeremy Soller
6a2ac14550
Remove erroneous ONESHELL usage 2020-01-21 19:41:25 -07:00
Jeremy Soller
ed5c8eb92c
Correctly determine size of MBR partition 2020-01-20 09:29:37 -07:00
4lDO2
a66af97a99 Add make recipes for MBR-partitioned BIOS disks. 2020-01-14 21:50:16 +11:00
4lDO2
455dc29bc9 Change the format of harddrive-efi.bin to GPT. 2020-01-06 18:33:22 +11:00
Jeremy Soller
d05b0844aa
Add extra space for livedisk-efi.iso target 2019-10-05 10:04:42 -06:00