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
24e84470
Kaydet (Commit)
24e84470
authored
Nis 04, 2020
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
extra module desteği ekledim
üst
6ad6a1a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
01-extra-modules.sh
src/addons/01-extra-modules.sh
+21
-0
vars.sh
src/vars.sh
+1
-0
No files found.
src/addons/01-extra-modules.sh
0 → 100644
Dosyayı görüntüle @
24e84470
get_module_with_dep
(){
name
=
$1
modinfo
$name
|
grep
filename |
awk
'{print $2}'
for
i
in
$(
modinfo
$name
|
grep
depends |
awk
'{print $2}'
|
sed
"s/,/ /g"
)
do
modinfo
$i
|
grep
filename |
awk
'{print $2}'
done
}
add_extra_module
(){
while
read
line
do
name
=
$(
basename
$line
)
echo
-e
"
\0
33[34;1mInstall:
\0
33[;0m
$name
"
cat
$line
>
${
WORKDIR
}
/
$MODDIR
/extra/
$name
done
}
for
i
in
$EXTRA_MODULES
do
mkdir
-p
${
WORKDIR
}
/
$MODDIR
/extra
get_module_with_dep
$i
| add_extra_module
done
src/vars.sh
Dosyayı görüntüle @
24e84470
PATH
=
/bin:/usr/bin:/usr/sbin:/sbin
TERM
=
linux
EXTRA_MODULES
=
""
rootfstype
=
ext4
if
[
-t
0
]
;
then
C_BLACK
=
'\e[1;30m'
...
...
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