Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
initrd
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
initrd
Commits
26f9e072
Kaydet (Commit)
26f9e072
authored
Nis 07, 2020
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
yardım mesajı da çeviri destekliyor
üst
3472ef65
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
93 additions
and
18 deletions
+93
-18
Makefile
Makefile
+2
-0
default.txt
locale/helpmsg/default.txt
+16
-0
tr_TR.UTF-8.txt
locale/helpmsg/tr_TR.UTF-8.txt
+16
-0
template.txt
locale/template.txt
+53
-0
build-functions.sh
src/build-functions.sh
+5
-18
99-fsswitch.sh
src/scripts/99-fsswitch.sh
+1
-0
No files found.
Makefile
Dosyayı görüntüle @
26f9e072
...
...
@@ -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
locale/helpmsg/default.txt
0 → 100644
Dosyayı görüntüle @
26f9e072
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.
locale/helpmsg/tr_TR.UTF-8.txt
0 → 100644
Dosyayı görüntüle @
26f9e072
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.
locale/template.txt
0 → 100644
Dosyayı görüntüle @
26f9e072
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::
src/build-functions.sh
Dosyayı görüntüle @
26f9e072
.
/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
(){
...
...
src/scripts/99-fsswitch.sh
Dosyayı görüntüle @
26f9e072
...
...
@@ -18,4 +18,5 @@ debug "Switching root"
exec env
-i
\
"TERM=
$TERM
"
\
"LANG=
$LANG
"
\
"LC_ALL=
$LANG
"
\
switch_root
"/rootfs/
$subdir
"
$init
"
$@
"
||
fallback_shell
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment