Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
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)
1
Konular (issue)
1
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
inary
Commits
bfa6fd1f
Kaydet (Commit)
bfa6fd1f
authored
Kas 15, 2019
tarafından
Ali Rıza KESKİN
Kaydeden (comit)
GitHub
Kas 15, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request
#1
from Zaryob/master
upstream yapıldı
üst
f959fc2a
b9bca9aa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
34 deletions
+46
-34
inary.conf-x86_64
config/inary.conf-x86_64
+1
-1
mirrors.conf
config/mirrors.conf
+20
-28
autotools.py
inary/actionsapi/autotools.py
+4
-0
kerneltools.py
inary/actionsapi/kerneltools.py
+3
-3
rubymodules.py
inary/actionsapi/rubymodules.py
+18
-2
No files found.
config/inary.conf-x86_64
Dosyayı görüntüle @
bfa6fd1f
...
...
@@ -9,7 +9,7 @@ cc = %(host)s-gcc
cxx = %(host)s-g++
compressionlevel = 9
enableSandbox = False
fallback = http
://source.sulin.org
/archives
fallback = http
s://master.dl.sourceforge.net/project/sulinos
/archives
generateDebug = True
jobs = -j5
ldflags = -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common
...
...
config/mirrors.conf
Dosyayı görüntüle @
bfa6fd1f
...
...
@@ -15,6 +15,7 @@ cpan http://www.perl.com/CPAN/
cpan
http
://
mirrors
.
jtlnet
.
com
/
CPAN
/
cpan
ftp
://
ftp
.
ncsu
.
edu
/
pub
/
mirror
/
CPAN
/
cpan
ftp
://
ftp
.
duke
.
edu
/
pub
/
perl
/
gentoo
http
://
mirror
.
yandex
.
ru
/
gentoo
-
distfiles
/
distfiles
/
gnome
http
://
ftp
.
gnome
.
org
/
pub
/
GNOME
/
sources
gnome
http
://
ftp
.
rpmfind
.
net
/
linux
/
gnome
.
org
/
sources
/
gnome
http
://
ftp
.
unina
.
it
/
pub
/
linux
/
GNOME
/
sources
/
...
...
@@ -181,34 +182,25 @@ kde ftp://ftp.gwdg.de/pub/x11/kde/
kde
http
://
gd
.
tuwien
.
ac
.
at
/
kde
/
kde
ftp
://
ftp
.
sayclub
.
com
/
pub
/
X
/
KDE
/
kde
http
://
ftp
.
sayclub
.
com
/
pub
/
X
/
KDE
/
sourceforge
http
://
heanet
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
hivelocity
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
garr
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
biznetnetworks
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
internap
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
internode
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
iweb
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
jaist
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
kent
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
mesh
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
nchc
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
nfsi
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
ovh
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
puzzle
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
softlayer
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
sunet
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
superb
-
east
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
superb
-
west
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
surfnet
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
switch
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
transact
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
ufpr
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
voxel
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
waix
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
easynews
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
optusnet
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
dfn
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
freefr
.
dl
.
sourceforge
.
net
/
sourceforge
http
://
master
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
netix
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
netcologne
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
nchc
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
liquidtelecom
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
jaist
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
iweb
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
vorboss
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
managedway
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
tenet
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
ufpr
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
versaweb
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
razaoinfo
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
phoenixnap
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
newcontinuum
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
cfhcable
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
gigenet
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
excellmedia
.
dl
.
sourceforge
.
net
/
project
/
sourceforge
http
://
ayera
.
dl
.
sourceforge
.
net
/
project
/
xorg
http
://
ftp
.
x
.
org
/
pub
/
xorg
http
://
xorg
.
freedesktop
.
org
/
archive
/
xorg
http
://
mirror
.
sg
.
depaul
.
edu
/
pub
/
x
.
org
/
...
...
inary/actionsapi/autotools.py
Dosyayı görüntüle @
bfa6fd1f
...
...
@@ -181,6 +181,10 @@ def aclocal(parameters=''):
if
system
(
'aclocal {}'
.
format
(
parameters
)):
raise
RunTimeError
(
_
(
'Running
\'
aclocal
\'
failed.'
))
def
autogen
():
"""generates configure script from autogen"""
if
system
(
'bash autogen.sh'
):
raise
RunTimeError
(
_
(
'Running
\'
autogen.sh
\'
script failed.'
))
def
autoconf
(
parameters
=
''
):
"""generates a configure script"""
...
...
inary/actionsapi/kerneltools.py
Dosyayı görüntüle @
bfa6fd1f
...
...
@@ -52,7 +52,7 @@ def __getAllSupportedFlavours():
def
__getFlavour
():
try
:
flavour
=
get
.
srcNAME
()
.
split
(
"
kernel
-"
)[
1
]
flavour
=
get
.
srcNAME
()
.
split
(
"
linux
-"
)[
1
]
except
IndexError
:
return
""
else
:
...
...
@@ -69,7 +69,7 @@ def __getModuleFlavour():
# needing the kernel sources/headers for only reference.
pass
return
"
kernel
"
return
"
linux
"
def
__getKernelARCH
():
...
...
@@ -173,7 +173,7 @@ def install():
dumpVersion
()
# Install kernel image
inarytools
.
insinto
(
"/boot/"
,
"arch/x86/boot/bzImage"
,
"
kernel
-{}"
.
format
(
suffix
))
inarytools
.
insinto
(
"/boot/"
,
"arch/x86/boot/bzImage"
,
"
linux
-{}"
.
format
(
suffix
))
# Install the modules
# mod-fw= avoids firmwares from installing
...
...
inary/actionsapi/rubymodules.py
Dosyayı görüntüle @
bfa6fd1f
...
...
@@ -59,7 +59,7 @@ class RunTimeError(inary.actionsapi.Error):
def
get_config
(
config
):
return
os
.
popen
(
"ruby -rrbconfig -e 'puts Config::CONFIG[
\"
{}
\"
]'"
.
format
(
config
))
.
read
()
.
strip
()
return
os
.
popen
(
"ruby -rrbconfig -e 'puts
Rb
Config::CONFIG[
\"
{}
\"
]'"
.
format
(
config
))
.
read
()
.
strip
()
def
get_ruby_version
():
...
...
@@ -73,6 +73,9 @@ def get_rubylibdir():
def
get_sitedir
():
return
get_config
(
'sitedir'
)
def
get_gemdir
():
return
os
.
popen
(
'gem env gemdir'
)
.
read
()
.
strip
()
def
get_ruby_install_name
():
return
get_config
(
'ruby_install_name'
)
...
...
@@ -87,6 +90,8 @@ def get_gemhome():
def
get_sitelibdir
():
return
get_config
(
'sitelibdir'
)
def
generate_gemname
():
return
"-"
.
join
(
get
.
srcNAME
()
.
split
(
"-"
)[
1
:])
def
auto_dodoc
():
from
inary.actionsapi.inarytools
import
dodoc
...
...
@@ -103,7 +108,7 @@ def auto_dodoc():
def
install
(
parameters
=
''
):
"""does ruby setup.rb install"""
if
system
(
'ruby -w setup.rb --prefix=/{0
.defaultprefixDIR()} --destdir={0.installDIR()} {1}'
.
format
(
get
,
parameters
)):
'ruby -w setup.rb --prefix=/{0
}/{1} --destdir={1} {2}'
.
format
(
get
.
defaultprefixDIR
(),
get_gemdir
(),
get
.
installDIR
()
,
parameters
)):
raise
InstallError
(
_
(
'Install failed.'
))
auto_dodoc
()
...
...
@@ -116,6 +121,17 @@ def rake_install(parameters=''):
auto_dodoc
()
def
gem_build
(
parameters
=
''
):
if
system
(
'gem build {} {}'
.
format
(
generate_gemname
(),
parameters
)):
raise
InstallError
(
_
(
'Build failed.'
))
def
gem_install
(
parameters
=
''
):
"""Make installation from GemFile"""
if
system
(
'gem install --backtrace {0} -i "{1}{2}" -n "{1}/usr/bin" {3}.gem'
.
format
(
parameters
,
get
.
installDIR
(),
get_gemdir
()
,
generate_gemname
()
+
"-"
+
get
.
srcVERSION
())):
raise
InstallError
(
_
(
'Install failed.'
))
auto_dodoc
()
def
run
(
parameters
=
''
):
"""executes parameters with ruby"""
...
...
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