Skip to content

Commit

Permalink
Support booting nixos
Browse files Browse the repository at this point in the history
  • Loading branch information
gorbak25 committed Jun 1, 2023
1 parent bc3fa3a commit 5b3b95c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiny_initramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ int main(int argc, char **argv)
try_exec(argc, argv, init_binary);
} else {
try_exec(argc, argv, "/sbin/init");
try_exec(argc, argv, "/init"); // NixOS compatibility
try_exec(argc, argv, "/etc/init");
try_exec(argc, argv, "/bin/init");
try_exec(argc, argv, "/bin/sh");
Expand Down

0 comments on commit 5b3b95c

Please sign in to comment.