Commit Graph

407 Commits

Author SHA1 Message Date
bjorn3
34acc9cb04 Don't checkout rust submodule by default
It is no longer necessary for regular builds as of the previous commit.
This will drastically improve the time it takes to do the initial clone
of redox.
2024-01-10 15:19:06 +01:00
bjorn3
da380dd368 Don't rebuild lib/rustlib/src in the rust sysroot
The prebuilt tarball already contains it now
2024-01-09 11:05:06 +01:00
bjorn3
5ce30e6da6 Somewhat simplify config.mk
* nproc exists on FreeBSD too
* REDOX_MAKE is generally make, so use that as default with per-OS
  override if necessary.
* HOST_TARGET can be fetched directly from rustc.
2024-01-08 19:24:14 +01: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
Jeremy Soller
0427420717
Use installer to resolve filesystem size 2024-01-04 12:22:43 -07:00
Jeremy Soller
27c3d69aed Merge branch 'sparse_extra' into 'master'
Use sparse allocation of extra.img on Linux too

See merge request redox-os/redox!1391
2024-01-03 19:23:46 +00:00
Ron Williams
6258becc3c add nonstop, uc and ucf to build, plus scripts include-recipes.sh and show-package.sh 2024-01-03 19:15:30 +00:00
bjorn3
ffd64a8703 Use sparse allocation of extra.img on Linux too
fallocate immediately allocates the full size of the file, even though
it likely won't end up being used.
2023-12-17 12:44:32 +01:00
Ivan Tan
097c6876bf add raspi3b config 2023-12-17 10:16:42 +08:00
Jeremy Soller
1afef4aef0 Merge branch 'ivan/board_var' into 'master'
aarch64: support building Redox for different motherboard.

See merge request redox-os/redox!1388
2023-12-15 23:18:38 +00:00
4lDO2
e3013ac40b
Add checks and install cbindgen in bootstrap.sh. 2023-12-14 15:32:54 +01:00
Ivan Tan
584e6fb548 aarch64: support building Redox for different motherboard. 2023-12-14 12:29:20 +00:00
Jeremy Soller
fb1478d9bf
Replace rebuild-recipe with make cr.recipe and make ucr.recipe 2023-12-13 14:41:38 -07:00
Jeremy Soller
7bec121856
Fix clean prefix build 2023-12-13 12:10:42 -07:00
Jeremy Soller
89749d3722
Copy relibc source to prefix to prevent problems when running multiple arch builds at once 2023-12-12 13:49:45 -07:00
Jeremy Soller
71406afe4f
Adjust i686 qemu parameters and allow kvm to be specified 2023-12-12 08:06:12 -07:00
Jeremy Soller
fc90fb9e0d Merge branch 'ivan/raspi3bp' into 'master'
add command to support qemu-arm64 and qemu-raspi3b

See merge request redox-os/redox!1385
2023-12-11 16:08:52 +00:00
Ivan Tan
636df55a51 add command to support qemu-arm64 and qemu-raspi3b 2023-12-08 23:51:12 +08:00
mattmadeofpasta
b86622d73b
Add just to the build dependencies 2023-11-23 21:40:00 +00:00
Ron Williams
5ad0f9900a Update config.mk to support changed option name for REPO_BINARY=1 2023-11-05 12:56:28 +00:00
bjorn3
3bea19f266 Switch qemu sound device from hda-duplex to hda-output
hda-duplex allows recording too. At least for XFCE this results in a
scary mic recording icon even when nothing inside the VM is actually
recording anything.
2023-10-18 22:51:41 +02:00
bjorn3
84bccb1d60 Build redoxfs and redoxfs-mkfs at the same time
This should be a bit faster.
2023-10-03 16:07:03 +02:00
Jeremy Soller
69183b3bd8
Clean relibc before build 2023-09-11 12:44:10 -06:00
Jeremy Soller
984823d22c
Change d.recipe to u.recipe 2023-09-11 11:22:27 -06:00
Jeremy Soller
4400396b09
Add d.package target for unfetching, update cookbook 2023-09-09 09:15:55 -06:00
Jeremy Soller
498deea753
Fix name of binutils tarball 2023-09-08 14:18:17 -06:00
Jeremy Soller
6f171b0ac0
Update binutils and gcc 2023-09-08 13:23:41 -06:00
Jeremy Soller
3a1b960bd4
Add option for virtio networking 2023-07-07 09:23:52 -06:00
Jeremy Soller
5e89a28c5a
Add vga=virtio qemu option 2023-07-07 08:47:44 -06:00
Jeremy Soller
287df06afe
Add QEMU option for rtl8139 2023-07-07 08:21:57 -06:00
uuuvn
5554ba3cd6
Allow KVM if host architecture is the same as a guest's one 2023-06-07 11:28:15 +00:00
uuuvn
28268bf703
Add support for non-x86 hosts 2023-06-06 15:31:47 +00:00
uuuvn
0da79d81b4
Build rustlib/src together with prefix 2023-05-22 08:42:41 +00:00
Jeremy Soller
b23109cec5
Name QEMU windows 2023-05-06 12:51:07 -06:00
Will Angenent
025cf84c86 Fix running qemu with aarch64 on MacOS 2023-04-29 15:27:20 +01:00
Will Angenent
2b1619c1e0 Unset CC and CXX before building prefix, since they could interfere 2023-04-15 18:33:35 +01:00
Jeremy Soller
8d53d7188a
Support aarch64 GUI 2023-04-04 08:14:43 -06:00
Will Angenent
09eca87a41 Fix missing ftruncate on MacOS 2023-04-02 11:16:09 +01:00
Will Angenent
9463599948 Remove unnecessary sudo from MacOS umount 2023-04-02 11:16:09 +01:00
Will Angenent
7b41f437a0 Use -u when unsetting env for better portability.
Fixes the MacOS build.
2023-04-02 11:16:09 +01:00
Will Angenent
b0feb1b423 Detect installed fusermount or fusermount3 binary 2023-03-21 03:02:07 +00:00
Jeremy Soller
ce9ce1b54b
Also build redoxfs-mkfs as part of fstools 2023-03-14 12:26:34 -06:00
Ron Williams
be957aa4d7 enable build from mixed source/binary packages 2023-03-09 23:30:33 -08:00
Jeremy Soller
7f40e64fde
Ensure build directory exists before touching fstools tag 2023-03-09 12:23:16 -07:00
Ron Williams
374e37d5b9 Improve dependencies on build tools 2023-03-06 12:41:45 -08:00
Jeremy Soller
383003220c
Add f.recipe target to fetch recipes 2023-02-25 08:48:08 -07:00
Jeremy Soller
3c63648d19
Remove all references to xargo 2023-02-21 11:53:37 -07:00
Jeremy Soller
0427f3ff8c
Update Rust to nightly-2023-01-21 2023-02-11 14:01:00 -07:00
Jeremy Soller
8f37e0deb5 Add vga=multi argument 2023-01-20 11:53:29 -07:00
Jeremy Soller
b42080deca Add clean target for individual recipes 2023-01-20 11:53:05 -07:00
Jeremy Soller
b199398c1d Fix qemu disk argument 2023-01-11 11:01:09 -07:00
Jeremy Soller
5b4ee80e10 Build Rust source tarball as part of rust-install 2022-12-18 08:06:28 -07:00
Ron Williams
1bc9362245 Add image and r.PACKAGE targets 2022-12-16 19:23:19 -08:00
Jeremy Soller
42acdf1089
Fix CI image build 2022-12-02 17:22:44 -07:00
Ron Williams
aea97d0a11 Update podman and bootstrap for Neverball 2022-11-26 21:07:04 -08:00
Jeremy Soller
c8634bd989
Fix ci-img 2022-11-23 13:58:56 -07:00
Jeremy Soller
13c5790bb6
Use ac97 by default on i686 2022-11-16 12:34:48 -07:00
Ron Williams
09bd6b1bc2 Move Rust install to build dir 2022-11-15 15:06:11 -08:00
Jeremy Soller
8b4707ade2 Merge branch 'rw_van_221117' into 'master'
move Rust install to a persistent container dir

See merge request redox-os/redox!1290
2022-11-15 22:18:07 +00:00
Ron Williams
e86794e500 Update podman.mk 2022-11-15 22:16:54 +00:00
Jeremy Soller
eb75853345
Allow selecting ac97 2022-11-15 15:11:38 -07:00
Ron Williams
2e42fbb6c8 move Rust install to a persistent container dir 2022-11-15 12:35:44 -08:00
Jeremy Soller
35832abf8a
Merge branch 'master' of https://gitlab.redox-os.org/redox-os/redox 2022-11-15 10:25:50 -07:00
Jeremy Soller
2809419d6b
Enable audio out in virtualbox 2022-11-15 10:25:44 -07:00
Ron Williams
edbea01093 fix podman colors, env target and netsurf build 2022-11-14 22:13:46 -08:00
Ron Williams
f312f466f6 add config name to .img or .iso 2022-11-12 07:01:25 -07:00
Ron Williams
1772f78aa9 Add podman build 2022-11-11 15:23:08 -08:00
Jeremy Soller
04286c49ac
Use local packages for ci images 2022-11-11 12:19:51 -07:00
Jeremy Soller
ab6d3c0a87
Move CI to arch-specific location 2022-11-10 15:40:32 -07:00
Jeremy Soller
45de97558c
Retain compatibility with jenkins image job 2022-11-10 12:15:21 -07:00
Jeremy Soller
dfe712a84c
Retain compatibility with jenkins toolchain job 2022-11-10 12:09:26 -07:00
Jeremy Soller
9232e4282a
Build images in directory per arch, remove bochs 2022-11-10 12:06:24 -07:00
Jeremy Soller
8e6517ca68 Update cookbook 2022-11-02 14:37:30 -06:00
Jeremy Soller
e21f066628
Move filesystem size to installer config 2022-10-17 08:02:13 -06:00
Ron Williams
ff144e17ba change ci-img target to build desktop, server and demo 2022-10-16 17:33:44 -07:00
Jeremy Soller
e833e66ac9
Move CI to its own makefile 2022-10-11 09:12:33 -06: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
8fd33c1b5f Fix missing build directory when making fetch tag 2022-09-12 09:00:39 -06:00
Jeremy Soller
907dfce1ad Touch build/fetch.tag to prevent re-fetch 2022-09-12 08:53:38 -06: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
2087dff7e6 Support setting QEMU CPU and machine, use pc as default for i686 2022-09-07 19:37:43 -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
b3d2b51a69
Remove qemu nvme tracing 2022-08-31 10:56:50 -06:00
Jeremy Soller
0807904117 QEMU tracing for NVME 2022-08-30 11:09:49 -06:00
Jeremy Soller
714c688073
Fix last commit - only make build instead of build/filesystem 2022-08-30 08:30:33 -06:00
Jeremy Soller
c43d5ce261
Ensure build/filesystem exists while building build/filesystem.bin 2022-08-30 08:14:31 -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
801f921c3d
Undo accidental setting of ARCH to i686 2022-08-26 17:44:53 -06:00
Jeremy Soller
cf1695fba4 Update bootloader 2022-08-26 12:34:23 -06:00
Jeremy Soller
231d10a83c
Always use live disk for aarch64 2022-08-26 11:30:14 -06:00
Jeremy Soller
1f339004d6
Support distinct filesystem configs for each architecture 2022-08-26 11:26:05 -06:00
Jeremy Soller
6db193a439
Use minimum x86_64 CPU when not using KVM 2022-08-26 08:29:14 -06:00
Jeremy Soller
b6b0854f4c
Support multi-core x86 2022-08-26 08:25:46 -06:00
Jeremy Soller
15a79f5f84
List i686 as supported arch 2022-08-24 07:39:33 -06:00