Kaydet (Commit) b6c3dbd2 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

inary armv7-l config added for Raspberry pi 4+

üst e9bf6517
[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
......@@ -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)
......
......@@ -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):
......
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