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
b6c3dbd2
Kaydet (Commit)
b6c3dbd2
authored
May 13, 2020
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
inary armv7-l config added for Raspberry pi 4+
üst
e9bf6517
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
1 deletion
+67
-1
inary.conf-armv7l
config/inary.conf-armv7l
+55
-0
listavailable.py
inary/cli/listavailable.py
+9
-1
sysconf.py
inary/sysconf.py
+3
-0
No files found.
config/inary.conf-armv7l
0 → 100644
Dosyayı görüntüle @
b6c3dbd2
[build]
build_host = localhost
# buildhelper = None
commonflags = -U_FORTIFY_SOURCE -march=armv7-l -mfloat-abi=hard -mfpu=vfpv3-d16 -O3 -s -pipe
cflags = %(commonflags)s
cxxflags = %(commonflags)s
host = armv7l-pc-linux-gnueabihf
cc = %(host)s-gcc
cxx = %(host)s-g++
compressionlevel = 9
fallback = http://source.sulinlinux.com/1.0
generateDebug = False
jobs = -j9
ldflags = -Wl,-O1,--sort-common,--as-needed,-z,relro
ignored_build_types = emul32
[directories]
cache_root_dir = /var/cache/epic
archives_dir = %(cache_root_dir)s/archives
cached_packages_dir = %(cache_root_dir)s/packages
compiled_packages_dir = %(cache_root_dir)s/packages
debug_packages_dir = %(cache_root_dir)s/packages-debug
lib_dir = /var/lib/inary
history_dir = %(lib_dir)s/history
index_dir = %(lib_dir)s/index
info_dir = %(lib_dir)s/info
kde_dir = /usr
lock_dir = /run/lock/subsys
log_dir = /var/log
packages_dir = %(lib_dir)s/package
qt_dir = /usr
tmp_dir = /var/inary
[general]
architecture = armv7l
autoclean = False
bandwidth_limit = 0
allowrfp=False
destinationdirectory = /
distribution = Sulin ARM
distribution_release = 0.1
distribution_id = s19
# ftp_proxy = None
# http_proxy = None
# https_proxy = None
allow_docs=True
allow_pages=True
allow_dbginfo=True
allow_static=False
ignore_delta = False
ignore_safety = False
ssl_verify = True
gpg_verify = False
package_cache = False
package_cache_limit = 0
inary/cli/listavailable.py
Dosyayı görüntüle @
b6c3dbd2
...
...
@@ -47,6 +47,8 @@ all repositories.
group
=
optparse
.
OptionGroup
(
self
.
parser
,
_
(
"list-available options"
))
group
.
add_option
(
"-n"
,
"--name-only"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Write only names."
))
#group.add_option("-l", "--long", action="store_true",
# default=False, help=_("Show in long format"))
group
.
add_option
(
"-c"
,
"--component"
,
action
=
"store"
,
default
=
None
,
help
=
_
(
"List available packages under given component"
))
group
.
add_option
(
"-U"
,
"--uninstalled"
,
action
=
"store_true"
,
...
...
@@ -98,7 +100,13 @@ all repositories.
else
:
pkgname
=
util
.
colorize
(
p
,
'brightwhite'
)
if
self
.
options
.
name_only
:
#if self.options.long:
# package = self.packagedb.get_package(p)
# inst_info = self.packagedb.get_info(p)
# ctx.ui.info(str(package))
# ctx.ui.info(str(inst_info))
elif
self
.
options
.
name_only
:
ctx
.
ui
.
info
(
str
(
pkgname
))
else
:
package
=
self
.
packagedb
.
get_package
(
p
,
repo
)
...
...
inary/sysconf.py
Dosyayı görüntüle @
b6c3dbd2
...
...
@@ -16,11 +16,14 @@
import
os
import
sys
# Gettext Library
import
gettext
__trans
=
gettext
.
translation
(
'inary'
,
fallback
=
True
)
_
=
__trans
.
gettext
sysconfdir
=
"/var/lib/inary/sysconf"
def
getmtime
(
path
):
"""Get file or directory modify time"""
if
not
os
.
path
.
exists
(
path
):
...
...
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