Compare commits

...

28 Commits

Author SHA1 Message Date
InfRandomness
e8994407dd Merge branch 'new-platforms' into 'master'
WIP: Add support for building on new platforms

See merge request redox-os/redox!1263
2025-06-27 18:49:58 +00:00
Jeremy Soller
fc326811f1 Merge branch 'fix_indentation' into 'master'
use spaces throughout for whitespace for consistant formatting

See merge request redox-os/redox!1597
2025-06-27 07:09:37 -06:00
Jeremy Soller
0beef41874 Merge branch 'enable-rustpython' into 'master'
Enable the RustPython recipe again for x86-64

See merge request redox-os/redox!1595
2025-06-27 07:07:28 -06:00
Jeremy Soller
f4b48e7cd0 Merge branch 'ci-add-libstdcxx' into 'master'
Add libstdcxx to build server CI

See merge request redox-os/redox!1596
2025-06-27 07:05:57 -06:00
auronandace
7146aae278 use spaces throughout for whitespace for consistant formatting 2025-06-27 11:08:37 +01:00
Petr Hrdina
02fa880f3e
Add libstdcxx to build server CI 2025-06-27 08:16:17 +02:00
Ribbon
62136787c0 Enable the RustPython recipe again for x86-64 2025-06-26 20:33:08 -03:00
Jeremy Soller
185982b64b
Update cookbook and relibc 2025-06-25 08:52:41 -06:00
Jeremy Soller
c64befc7f3 Merge branch 'add-BROWSER' into 'master'
Add BROWSER environment variable to desktop config.

See merge request redox-os/redox!1588
2025-06-25 08:49:56 -06:00
Jeremy Soller
3c9bffa547 Merge branch 'master' into 'master'
Add make recipe commands for multiple targets, speedup category.sh for podman build.

See merge request redox-os/redox!1590
2025-06-25 08:46:04 -06:00
Jeremy Soller
1991f17ef7 Merge branch 'netboot_improvements' into 'master'
Bunch of netboot improvements

See merge request redox-os/redox!1591
2025-06-25 08:43:11 -06:00
Jeremy Soller
54cd03c4e1 Merge branch 'ci-add-libgcc' into 'master'
Add libgcc to build server CI

Closes #1602

See merge request redox-os/redox!1592
2025-06-25 08:42:02 -06:00
Jeremy Soller
1c0cb477c6 Merge branch 'libtool-deps' into 'master'
Fix podman continously trying to rebuild libtool-build

See merge request redox-os/redox!1594
2025-06-25 08:40:59 -06:00
Ribbon
38dda81b47 Improve the "Chat" section explanation 2025-06-24 21:42:50 -03:00
Ribbon
1783928192 Improve the "Chat" section and add more GitLab information in CONTRIBUTING.md 2025-06-24 21:39:00 -03:00
bjorn3
b4ca9e617c Use http to download redox-live.iso during netbooting 2025-06-24 20:53:40 +02:00
Wildan Mubarok
e36fdf54c4 Fix podman continously trying to rebuild libtool-build 2025-06-24 10:39:51 +00:00
Petr Hrdina
5404cae76c
Add libgcc to build server CI 2025-06-22 21:02:47 +02: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
Petr Hrdina
811e267642
Speedup category.sh for podman build 2025-06-22 12:35:04 +02:00
Petr Hrdina
42b1a1c14a
Add make recipe commands for multiple targets 2025-06-22 12:34:42 +02:00
David Campbell
4be6155e42 unset BROWSER after starting orbital. 2025-06-20 18:38:52 -04:00
David Campbell
b25fbb3900 Add BROWSER environment variable to desktop config. 2025-06-20 18:38:52 -04:00
InfRandomness
732931c0a3
Merge remote-tracking branch 'origin/new-platforms' into new-platforms 2021-06-21 23:53:00 +02:00
InfRandomness
5dee7df495
Add support for building on void-linux 2021-06-21 23:52:25 +02:00
InfRandomness
51f6e989de
Add support for building on void-linux 2021-06-21 22:23:39 +02:00
20 changed files with 669 additions and 533 deletions

View File

@ -20,7 +20,76 @@ Please review the `LICENSE` file for the project you are contributing to.
## Chat
Join us on [Matrix Chat](https://doc.redox-os.org/book/chat.html) to discuss issues or ask questions.
You can join in our chat platforms to discuss development, issues or ask questions.
### [Matrix](https://matrix.to/#/#redox-join:matrix.org)
Matrix is the official way to talk with Redox OS team and community (these rooms are English-only, we don't accept other languages because we don't understand them).
Matrix has several different clients. [Element](https://element.io/) is a commonly used choice, it works on web browsers, Linux, MacOSX, Windows, Android and iOS.
If you have problems with Element, try [Fractal](https://gitlab.gnome.org/World/fractal).
- Join the [Join Requests](https://matrix.to/#/#redox-join:matrix.org) room and send a message requesting for an invite to the Redox Matrix space (the purpose of this is to avoid spam and bots).
- #redox-join:matrix.org (Use this Matrix room address if you don't want to use the external Matrix link)
(We recommend that you leave the "Join Requests" room after your entry on Redox space)
If you want to have a big discussion in our rooms, you should use a Element thread, it's more organized and easy to keep track if more discussions happen on the same room.
You cand find more information on the [Chat](https://doc.redox-os.org/book/chat.html) page.
### [Discord](https://discord.gg/JfggvrHGDY)
We have a Discord server as an alternative for Matrix, open the #join-requests channel and send a message requesting to be a member (the purpose of this is to avoid spam and bots)
The Matrix messages are sent to Discord and vice-versa using a bot, but sometimes some Discord messages aren't sent to Matrix (if this happens to you join in our Matrix space above)
## [GitLab](https://gitlab.redox-os.org/redox-os/redox)
A slightly more formal way of communication with fellow Redox developers, but a little less quick and convenient like the chat. Submit an issue when you run into problems compiling or testing. Issues can also be used if you would like to discuss a certain topic: be it features, code style, code inconsistencies, minor changes and fixes, etc.
If you want to create an account, read the [Signing in to GitLab](https://doc.redox-os.org/book/signing-in-to-gitlab.html) page.
Once you create an issue don't forget to post the link on the Dev or Support rooms of the chat, because the GitLab email notifications have distractions (service messages or spam) and most developers don't left their GitLab pages open to receive desktop notifications from the web browser (which require a custom setting to receive issue notifications).
By doing this you help us to pay attention to your issues and avoid them to be accidentally forgotten.
If you have ready MRs (merge requests) you must send the links in the [MRs](https://matrix.to/#/#redox-mrs:matrix.org) room. To join this room, you will need to request an invite in the [Join Requests](https://matrix.to/#/#redox-join:matrix.org) room.
By sending a message in the room, your MR will not be forgotten or accumulate conflicts.
## Best Practices and Guidelines
You can read the best practices and guidelines on the [Best practices and guidelines](https://doc.redox-os.org/book/best-practices.html) chapter.
## Style Guidelines
### Rust
Since **Rust** is a relatively small and new language compared to others like C and C++, there's really only one standard. Just follow the official Rust standards for formatting, and maybe run `rustfmt` on your changes, until we setup the CI system to do it automatically.
### Git
Please follow our [Git style](https://doc.redox-os.org/book/creating-proper-pull-requests.html) for pull requests.
## GitLab
### Identity
Once your GitLab account is created, you should add your Matrix or Discord username (the name after the `@` symbol) on the "About" section of your profile, that way we recognize you properly.
### Issues
To know how to create issues on the Redox GitLab, read the [Filing Issues](https://doc.redox-os.org/book/filing-issues.html) page.
Once you create an issue don't forget to post the link on the Dev or Support rooms of the chat, because the GitLab email notifications have distractions (service messages or spam) and most developers don't left their GitLab pages open to receive desktop notifications from the web browser (which require a custom setting to receive issue notifications).
By doing this you help us to pay attention to your issues and avoid them to be accidentally forgotten.
### Pull Requests
Please follow [our process](https://doc.redox-os.org/book/creating-proper-pull-requests.html) for creating proper pull requests.
## Important Places to Contribute
@ -157,38 +226,6 @@ We maintain a list of wikis, articles and videos to learn Rust, OS development a
If you are skilled there's a possibility that they could improve your knowledge in some way.
## Best Practices and Guidelines
You can read the best practices and guidelines on the [Best practices and guidelines](https://doc.redox-os.org/book/best-practices.html) chapter.
## Style Guidelines
### Rust
Since **Rust** is a relatively small and new language compared to others like C and C++, there's really only one standard. Just follow the official Rust standards for formatting, and maybe run `rustfmt` on your changes, until we setup the CI system to do it automatically.
### Git
Please follow our [Git style](https://doc.redox-os.org/book/creating-proper-pull-requests.html) for pull requests.
## GitLab
### Identity
Once your GitLab account is created, you should add your Matrix or Discord username (the name after the `@` symbol) on the "About" section of your profile, that way we recognize you properly.
### Issues
To know how to create issues on the Redox GitLab, read the [Filing Issues](https://doc.redox-os.org/book/filing-issues.html) page.
Once you create an issue don't forget to post the link on the Dev or Support rooms of the chat, because the GitLab email notifications have distractions (service messages or spam) and most developers don't left their GitLab pages open to receive desktop notifications from the web browser (which require a custom setting to receive issue notifications).
By doing this you help us to pay attention to your issues and avoid them to be accidentally forgotten.
### Pull Requests
Please follow [our process](https://doc.redox-os.org/book/creating-proper-pull-requests.html) for creating proper pull requests.
## Other Ways to Contribute
If you aren't good on coding, but you still want to help keep the project going, you can contribute and support in a variety of ways! We'll try to find a way to use anything you have to offer.

View File

@ -10,28 +10,22 @@ all: $(BUILD)/harddrive.img
live:
-$(FUMOUNT) $(BUILD)/filesystem/ || true
-$(FUMOUNT) /tmp/redox_installer/ || true
rm -f $(BUILD)/livedisk.iso
$(MAKE) $(BUILD)/livedisk.iso
rm -f $(BUILD)/redox-live.iso
$(MAKE) $(BUILD)/redox-live.iso
netboot:
-$(FUMOUNT) $(BUILD)/filesystem/ || true
-$(FUMOUNT) /tmp/redox_installer/ || true
rm -rf $(BUILD)/livedisk.iso $(BUILD)/tftproot
$(MAKE) $(BUILD)/tftproot
popsicle: $(BUILD)/livedisk.iso
popsicle-gtk $(BUILD)/livedisk.iso
popsicle: $(BUILD)/redox-live.iso
popsicle-gtk $(BUILD)/redox-live.iso
image:
-$(FUMOUNT) $(BUILD)/filesystem/ || true
-$(FUMOUNT) /tmp/redox_installer/ || true
rm -f $(BUILD)/harddrive.img $(BUILD)/livedisk.iso
rm -f $(BUILD)/harddrive.img $(BUILD)/redox-live.iso
$(MAKE) all
rebuild:
-$(FUMOUNT) $(BUILD)/filesystem/ || true
-$(FUMOUNT) /tmp/redox_installer/ || true
rm -rf $(BUILD)/repo.tag $(BUILD)/harddrive.img $(BUILD)/livedisk.iso
rm -rf $(BUILD)/repo.tag $(BUILD)/harddrive.img $(BUILD)/redox-live.iso
$(MAKE) all
clean: $(CONTAINER_TAG)

View File

@ -34,7 +34,7 @@ usage()
echo " config/ARCH/CONFIG.toml"
echo " If you specify both CONFIG and FILESYSTEM_CONFIG, it is not"
echo " necessary that they match, but it is recommended."
echo " Examples: ./build.sh -c demo live - make build/x86_64/demo/livedisk.iso"
echo " Examples: ./build.sh -c demo live - make build/x86_64/demo/redox-live.iso"
echo " ./build.sh -6 qemu - make build/i686/desktop/harddrive.img and"
echo " and run it in qemu"
echo " NOTE: If you do not change ARCH or CONFIG very often, edit mk/config.mk"

View File

@ -23,6 +23,8 @@ installer = {}
installer-gui = {}
ion = {}
kernel = {}
libgcc = {}
libstdcxx = {}
#nano = {} # error compiling ncurses
netdb = {}
#netsurf = {} # error building openssl1

View File

@ -21,7 +21,7 @@ orbdata = {}
orbital = {}
orbutils = {}
pop-icon-theme = {}
# rustpython = {} #TODO ensure RustPython builds with our toolchain
rustpython = {}
shared-mime-info = {}
patchelf = {}
@ -29,8 +29,10 @@ patchelf = {}
path = "/usr/lib/init.d/20_orbital"
data = """
audiod
export BROWSER /bin/netsurf-fb
export VT 3
orbital orblogin launcher
unset BROWSER
unset VT
"""

View File

@ -23,6 +23,8 @@ installer = {}
installer-gui = {}
ion = {}
kernel = {}
libgcc = {}
libstdcxx = {}
nano = {}
netdb = {}
netsurf = {}

View File

@ -23,6 +23,8 @@ installer = {}
#installer-gui = {} # redox_syscall 0.4 not working on riscv64gc?
ion = {}
kernel = {}
libgcc = {}
libstdcxx = {}
#nano = {} # error compiling ncurses
netdb = {}
#netsurf = {} # error compiling nghttp2

View File

@ -84,12 +84,14 @@ kibi = {}
lci = {}
libc-bench = {}
libffi = {}
libgcc = {}
libgmp = {}
libiconv = {}
libjpeg = {}
libogg = {}
liborbital = {}
libpng = {}
libstdcxx = {}
#libsodium = {} # failing to fetch
libvorbis = {}
libxml2 = {}
@ -167,7 +169,7 @@ rs-nes = {}
rust64 = {}
#rust-cairo = {} # linking errors
#rust-cairo-demo = {} # linking errors
#rustpython = {} # does not compile
rustpython = {}
rustual-boy = {}
#schismtracker = {} # uses system includes
scummvm = {}

@ -1 +1 @@
Subproject commit ab8e300cf698eccf7a0fc7773c62980a87702a93
Subproject commit cf34a9397d2c349be09e60aa4c69a457fb4a0678

View File

@ -15,11 +15,11 @@ ci-img: FORCE
# The name of the target must match the name of the filesystem config file
minimal minimal-net server desktop demo: FORCE
rm -f "build/$(ARCH)/$@/harddrive.img" "build/$(ARCH)/$@/livedisk.iso"
$(MAKE) CONFIG_NAME=$@ build/$(ARCH)/$@/harddrive.img build/$(ARCH)/$@/livedisk.iso
rm -f "build/$(ARCH)/$@/harddrive.img" "build/$(ARCH)/$@/redox-live.iso"
$(MAKE) CONFIG_NAME=$@ build/$(ARCH)/$@/harddrive.img build/$(ARCH)/$@/redox-live.iso
mkdir -p $(IMG_DIR)
cp "build/$(ARCH)/$@/harddrive.img" "$(IMG_DIR)/redox_$(@)$(IMG_SEPARATOR)$(IMG_TAG)_harddrive.img"
cp "build/$(ARCH)/$@/livedisk.iso" "$(IMG_DIR)/redox_$(@)$(IMG_SEPARATOR)$(IMG_TAG)_livedisk.iso"
cp "build/$(ARCH)/$@/redox-live.iso" "$(IMG_DIR)/redox_$(@)$(IMG_SEPARATOR)$(IMG_TAG)_redox-live.iso"
# CI packaging target
ci-pkg: prefix $(FSTOOLS_TAG) $(CONTAINER_TAG) FORCE

View File

@ -12,7 +12,7 @@ $(BUILD)/harddrive.img: $(HOST_FSTOOLS) $(REPO_TAG)
umask 002 && $(INSTALLER) $(INSTALLER_OPTS) -c $(FILESYSTEM_CONFIG) $@.partial
mv $@.partial $@
$(BUILD)/livedisk.iso: $(HOST_FSTOOLS) $(REPO_TAG)
$(BUILD)/redox-live.iso: $(HOST_FSTOOLS) $(REPO_TAG) redox.ipxe
mkdir -p $(BUILD)
rm -rf $@ $@.partial
-$(FUMOUNT) /tmp/redox_installer || true
@ -23,13 +23,7 @@ $(BUILD)/livedisk.iso: $(HOST_FSTOOLS) $(REPO_TAG)
truncate -s "$$FILESYSTEM_SIZE"m $@.partial
umask 002 && $(INSTALLER) $(INSTALLER_OPTS) -c $(FILESYSTEM_CONFIG) --write-bootloader="$(BUILD)/bootloader-live.efi" --live $@.partial
mv $@.partial $@
$(BUILD)/tftproot: $(HOST_FSTOOLS) $(REPO_TAG) $(BUILD)/livedisk.iso
rm -r $(BUILD)/tftproot || true
mkdir $(BUILD)/tftproot
cp $(BUILD)/bootloader-live.efi $(BUILD)/tftproot/bootloader-live.efi
ln -s ../livedisk.iso $(BUILD)/tftproot/redox-live.img
cp redox.ipxe $(BUILD)/tftproot/redox.ipxe
cp redox.ipxe $(BUILD)/redox.ipxe
$(BUILD)/filesystem.img: $(HOST_FSTOOLS) $(REPO_TAG)
mkdir -p $(BUILD)

View File

@ -86,7 +86,7 @@ $(PREFIX)/libtool:
echo $(LIBTOOL_VERSION) > $@.partial/.tarball-version
mv "$@.partial" "$@"
$(PREFIX)/libtool-build: $(PREFIX)/libtool $(CONTAINER_TAG)
$(PREFIX)/libtool-build: $(PREFIX)/libtool $(PREFIX)/rust-install
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else

View File

@ -108,7 +108,7 @@ ifneq ($(QEMU_KERNEL),)
endif
ifeq ($(live),yes)
DISK=$(BUILD)/livedisk.iso
DISK=$(BUILD)/redox-live.iso
else
DISK=$(BUILD)/harddrive.img
endif
@ -151,7 +151,7 @@ else
EXTRANETARGS=
ifeq ($(netboot),yes)
EXTRANETARGS+=,tftp=$(BUILD)/tftproot,bootfile=redox.ipxe
EXTRANETARGS+=,tftp=$(BUILD),bootfile=redox.ipxe
endif
ifneq ($(bridge),)
@ -242,10 +242,6 @@ qemu-deps:$(FIRMWARE)
qemu-deps:$(QEMU_KERNEL)
ifeq ($(netboot),yes)
qemu-deps: $(BUILD)/tftproot
endif
qemu-deps: $(PFLASH0)
ifneq ($(PFLASH1),)

View File

@ -51,6 +51,16 @@ else
./clean.sh $*
endif
comma := ,
# Invoke clean.sh for multiple targets
cl.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),c.$(target))
endif
# Invoke fetch.sh for a single target
f.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
@ -62,6 +72,14 @@ else
./fetch.sh $*
endif
# Invoke fetch.sh for multiple targets
fl.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),f.$(target))
endif
# Invoke repo.sh for a single target
r.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
@ -73,6 +91,14 @@ else
./repo.sh $*
endif
# Invoke repo.sh for multiple targets
rl.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),r.$(target))
endif
# Invoke unfetch.sh for a single target
u.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
@ -84,20 +110,64 @@ else
./unfetch.sh $*
endif
# Invoke unfetch.sh for multiple targets
ul.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),u.$(target))
endif
# Invoke clean.sh, and repo.sh for a single target
cr.%: $(FSTOOLS_TAG) FORCE
$(MAKE) c.$*
$(MAKE) r.$*
# Invoke clean.sh and repo.sh for multiple targets
crl.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),c.$(target))
$(MAKE) $(foreach target,$(subst $(comma), ,$*),r.$(target))
endif
# Invoke unfetch.sh, clean.sh, and repo.sh for a single target
ucr.%: $(FSTOOLS_TAG) FORCE
$(MAKE) u.$*
$(MAKE) cr.$*
# Invoke unfetch.sh, clean.sh and repo.sh for multiple targets
ucrl.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),u.$(target))
$(MAKE) $(foreach target,$(subst $(comma), ,$*),cr.$(target))
endif
uc.%: $(FSTOOLS_TAG) FORCE
$(MAKE) u.$*
$(MAKE) c.$*
# Invoke unfetch.sh and clean.sh for multiple targets
ucl.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),u.$(target))
$(MAKE) $(foreach target,$(subst $(comma), ,$*),c.$(target))
endif
ucf.%: $(FSTOOLS_TAG) FORCE
$(MAKE) uc.$*
$(MAKE) f.$*
# Invoke unfetch, clean.sh and fetch.sh for multiple targets
ucfl.%: $(FSTOOLS_TAG) FORCE
ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
$(MAKE) $(foreach target,$(subst $(comma), ,$*),uc.$(target))
$(MAKE) $(foreach target,$(subst $(comma), ,$*),f.$(target))
endif

View File

@ -853,6 +853,36 @@ solus()
perl-html-parser
}
##############################################################################
# This function takes care of installing all dependencies for building redox on
# VoidLinux
# @params: $1 the emulator to install, virtualbox or qemu
##############################################################################
voidlinux()
{
echo "Detected VoidLinux"
if [ "$1" == "qemu" ]; then
if [ -z "$(which qemu-system-x86_64)" ]; then
sudo xbps-install -S qemu
else
echo "QEMU already installed!"
fi
else
if [ -z "$(which virtualbox)" ]; then
echo "Please install Virtualbox and re-run this script,"
echo "or run with -e qemu"
exit
else
echo "Virtualbox already installed!"
fi
fi
echo "Installing necessary build tools..."
sudo xbps-install -S gcc make nasm wget pkg-config fuse-devel rsync automake gettext-devel libtool po4a patch bison flex gperf libpng-devel perl-HTML-Parser
}
######################################################################
# This function outlines the different options available for bootstrap
######################################################################
@ -1090,6 +1120,8 @@ else
# FreeBSD
elif hash 2>/dev/null pkg; then
freebsd "$emulator"
elif hash 2>/dev/null xbps-install; then
voidlinux "$emulator"
# Unsupported platform
else
printf "\e[31;1mFatal error: \e[0;31mUnsupported platform, please open an issue\e[0m\n"

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
#!ipxe
kernel bootloader-live.efi
initrd redox-live.img
initrd http://${next-server}:8080/redox-live.iso
boot

2
relibc

@ -1 +1 @@
Subproject commit 63418095e578459452b341d6d3c084efabf7f574
Subproject commit 74ebfb256d14af0b56a9572166e2239851d5c431

View File

@ -10,13 +10,22 @@ then
exit 1
fi
set -x
action="${1#-}"
recipe_list=""
first=1
for recipe in `find cookbook/recipes/"$2" -name "recipe.*"`
do
recipe_folder=`dirname "$recipe"`
recipe_name=`basename "$recipe_folder"`
make "$action"."$recipe_name"
done
if [ "$first" -eq 1 ]; then
recipe_list="$recipe_name"
first=0
else
recipe_list="$recipe_list,$recipe_name"
fi
done
set -x
make "$action"l."$recipe_list"

View File

@ -24,7 +24,7 @@ for ARCH in "${ARCHS[@]}"
do
for CONFIG_NAME in "${CONFIGS[@]}"
do
IMAGE="build/${ARCH}/${CONFIG_NAME}/livedisk.iso"
IMAGE="build/${ARCH}/${CONFIG_NAME}/redox-live.iso"
make ARCH="${ARCH}" CONFIG_NAME="${CONFIG_NAME}" "${IMAGE}"
cp -v "${IMAGE}" "${VENTOY}/redox-${CONFIG_NAME}-${ARCH}.iso"
done