Skip to content

Commit

Permalink
Add shell to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Orru committed Mar 18, 2018
1 parent e0bbafe commit 0c54912
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ pub fn build(b: &Builder) void {
const kernel = buildKernel(b);
const terminal = buildServer(b, "terminal");
const keyboard = buildServer(b, "keyboard");
// TODO: unprivileged processes, not servers.
const shell = buildServer(b, "shell");


////
Expand All @@ -22,7 +24,7 @@ pub fn build(b: &Builder) void {
"qemu-system-i386",
"-display", "curses",
"-kernel", kernel,
"-initrd", join(b.allocator, ',', terminal, keyboard) catch unreachable,
"-initrd", join(b.allocator, ',', terminal, keyboard, shell) catch unreachable,
};
const debug_params = [][]const u8 {"-s", "-S"};

Expand Down

0 comments on commit 0c54912

Please sign in to comment.