Mount cdrom if available

This commit is contained in:
K. Lange 2018-08-12 17:14:15 +09:00
parent ad8d87c081
commit 64aac5e063
2 changed files with 6 additions and 1 deletions

View File

@ -112,11 +112,13 @@ base/bin:
mkdir -p $@
base/lib:
mkdir -p $@
base/cdrom:
mkdir -p $@
fatbase/efi/boot:
mkdir -p $@
.make:
mkdir -p .make
dirs: base/dev base/tmp base/proc base/bin base/lib fatbase/efi/boot .make
dirs: base/dev base/tmp base/proc base/bin base/lib base/cdrom fatbase/efi/boot .make
# C Library

View File

@ -0,0 +1,3 @@
#!/bin/sh
if stat -Lq /dev/cdrom0 then mount iso /dev/cdrom0 /cdrom