Kaydet (Commit) 26f9e072 authored tarafından Your Name's avatar Your Name

yardım mesajı da çeviri destekliyor

üst 3472ef65
......@@ -2,8 +2,10 @@ install:
[ -d $(DESTDIR)/lib/initrd/ ] && rm -rf $(DESTDIR)/lib/initrd/ || true
mkdir $(DESTDIR)/lib/initrd/
mkdir $(DESTDIR)/lib/initrd/locale
mkdir $(DESTDIR)/lib/initrd/locale/helpmsg
cp -prfv src/* $(DESTDIR)/lib/initrd/
cp -prfv locale/* $(DESTDIR)/lib/initrd/locale
cp -prfv locale/helpmsg/* $(DESTDIR)/lib/initrd/locale/helpmsg
[ -f $(DESTDIR)/bin/update-initrd ] && rm -f $(DESTDIR)/bin/update-initrd || true
ln -s $(DESTDIR)/lib/initrd/build.sh $(DESTDIR)/bin/update-initrd
chmod +x $(DESTDIR)/lib/initrd/build.sh
Usage $(basename $0) [OPTIONS]
Targeting options list:
OUPTUP Target initrd file output location.
WORKDIR Working directory. Created by mktemp command.
KERNELVER Target kernel version. Default is current kernel.
MODDIR Target module director. Default is current module directory.
CONFIG Used config file location. Default is /etc/initrd.conf
General option list:
-d / --debug Print debug log.
-k / --keep Do not remove working directory after building.
-h / --help Print this message.
-n / --no-color Disable colorized output.
-c / --no-cpio Do not generate initrd image.
-f / --fallback Generate fallback initrd image.
-g / --no-glibc Do not install glibc module. (Disable dinamic library support.)
-s / --no-fsck Do not install fsck module.
Kullanım $(basename $0) [SEÇENEKLER]
Hedefleme seçenekleri listesi:
OUPTUP Hedef initrd dosyası çıktı yolu.
WORKDIR Çalışma dizini. mktepm tarafından oluşturulur.
KERNELVER Hedef çekirdek sürümü. Varsayılan şimdiki çekirdek.
MODDIR Hedef modül dizini. Varsayılan şimdiki modül dizini.
CONFIG Kullanılan ayar yolu. Varsayılan /etc/initrd.conf kullanılır.
Genel seçenekler listesi:
-d / --debug Hata ayıklama çıktısı yazdırır.
-k / --keep Derleme sonrası çalışma dizinini temizlemez.
-h / --help Bu mesajı yazdırır.
-n / --no-color Renkli çıktı özelliğini kapatır.
-c / --no-cpio Initrd dosyası oluşturmaz.
-f / --fallback Yedek initrd dosyası oluşturur.
-g / --no-glibc Glibc modülünü kapat. (dinamik ikili desteğini kapatır)
-s / --no-fsck Fsck modülünü kapatır.
Creating workdir::
Merging with overlay::
Install modules::
Clearing workdir::
Keeping workdir::
Install main modules::
Install drivers::
Module directory not found::
Kernel Version::
Module Directory::
Install::
glibc will not install::
fsck will not install::
Install busybox::
Busybox is not a static binary::
Busybox not found::
Using config::
Building::
Generating::
Generating fallback::
Starting::
Listing kernel modules::
Trying to load kernel modules::
Running::
fsck not found::
Trying to connect network::
Found network device::
Moving mountpoints::
Creating overlayfs::
Looking for::
Detected live media::
Mounting live media::
Mounting freeze media::
Mounting rootfs::
Creating tmpfs for /::
Creating binds::
Binding::
Booting from live-media::
Booting from::
Starting overlay scripts::
Wellcome to::
Running local initrd scripts::
Switching root::
Creating initrd::
Mount handler running::
UEFI mode detected::
Booting dead. Now you are in initial ramdisk.::
Detecting real root::
No root device specified.::
Where is the root::
Setting root::
is not a block device::
. /lib/initrd/common.sh
help_msg(){
cat << EOF
Usage $(basename $0) [OPTIONS]
Targeting options list:
OUPTUP Target initrd file output location.
WORKDIR Working directory. Created by mktemp command.
KERNELVER Target kernel version. Default is current kernel.
MODDIR Target module director. Default is current module directory.
CONFIG Used config file location. Default is /etc/initrd.conf
General option list:
-d / --debug Print debug log.
-k / --keep Do not remove working directory after building.
-h / --help Print this message.
-n / --no-color Disable colorized output.
-c / --no-cpio Do not generate initrd image.
-f / --fallback Generate fallback initrd image.
-g / --no-glibc Do not install glibc module. (Disable dinamic library support.)
-s / --no-fsck Do not install fsck module.
EOF
if [ -f /lib/initrd/locale/helpmsg/$LANG.txt ] ; then
cat /lib/initrd/locale/helpmsg/$LANG.txt
else
cat /lib/initrd/locale/helpmsg/default.txt
fi
}
get_module_with_dep(){
......
......@@ -18,4 +18,5 @@ debug "Switching root"
exec env -i \
"TERM=$TERM" \
"LANG=$LANG"\
"LC_ALL=$LANG"\
switch_root "/rootfs/$subdir" $init "$@" || fallback_shell
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