Kaydet (Commit) b1304955 authored tarafından Ali Rıza KESKİN's avatar Ali Rıza KESKİN

daha fazla modül hata gidermesi

üst 93b3304e
...@@ -42,6 +42,7 @@ Starting overlay scripts:: ...@@ -42,6 +42,7 @@ Starting overlay scripts::
Wellcome to:: Wellcome to::
Running local initrd scripts:: Running local initrd scripts::
Switching root:: Switching root::
Waiting for kernel modules::
Creating initrd:: Creating initrd::
Mount handler running:: Mount handler running::
UEFI mode detected:: UEFI mode detected::
......
...@@ -42,6 +42,7 @@ Starting overlay scripts::Overlay betikleri baslatiliyor ...@@ -42,6 +42,7 @@ Starting overlay scripts::Overlay betikleri baslatiliyor
Wellcome to::Hosgeldiniz Wellcome to::Hosgeldiniz
Running local initrd scripts::Yerel acilis betikleri calistiriliyor Running local initrd scripts::Yerel acilis betikleri calistiriliyor
Switching root::Kok degistiriliyor Switching root::Kok degistiriliyor
Waiting for kernel modules::Cekirdek modulleri icin bekleniyor
Creating initrd::Initrd olusturuluyor Creating initrd::Initrd olusturuluyor
Mount handler running::Baglama islemleri calisiyor Mount handler running::Baglama islemleri calisiyor
UEFI mode detected::UEFI modu tespit edildi UEFI mode detected::UEFI modu tespit edildi
......
...@@ -37,15 +37,17 @@ overlay_mount(){ ...@@ -37,15 +37,17 @@ overlay_mount(){
} }
live_config(){ live_config(){
if [ -f /rootfs/$subdir/sbin/openrc-run ] ; then if [ -f /rootfs/$subdir/sbin/openrc-run ] ; then
if [ "${live.user}" != "" ] ; then if [ "${live_user}" != "" ] ; then
chroot /rootfs/$subdir/ useradd "$live_user" || true chroot /rootfs/$subdir/ useradd "${live_user}" || true
else
chroot /rootfs/$subdir/ useradd "sulin" || true
fi fi
if [ "${live.keyboard}" != "" ] ; then if [ "${live_keyboard}" != "" ] ; then
echo "keymap=\"${live.keymap}\"" > /rootfs/$subdir/etc/conf.d/keymaps echo "keymap=\"${live_keymap}\"" > /rootfs/$subdir/etc/conf.d/keymaps
fi fi
if [ "${live.locale}" != "" ] ; then if [ "${live_locale}" != "" ] ; then
export LANG=${live.locale} export LANG=${live_locale}
export LC_ALL=${live.locale} export LC_ALL=${live_locale}
fi fi
else else
warn "Live config cannot works without openrc" warn "Live config cannot works without openrc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment