mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
try to move to ramfs
This commit is contained in:
parent
2a8d89f299
commit
50b0f48bee
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ _new_environment() {
|
|||
sleep 10
|
||||
echo -e "\e[1mStep 4/9:\e[m Copying kernel ${VMLINUZ} to /${VMLINUZ}..."
|
||||
mkdir /ramfs
|
||||
mount -o ramfs none /ramfs
|
||||
mount -t ramfs none /ramfs
|
||||
cp "${_W_DIR}/boot/${VMLINUZ}" /ramfs/ || exit 1
|
||||
[[ ${_RUNNING_ARCH} == "x86_64" ]] && _kver_x86
|
||||
[[ ${_RUNNING_ARCH} == "aarch64" || ${_RUNNING_ARCH} == "riscv64" ]] && _kver_generic
|
||||
|
|
Loading…
Reference in a new issue