mirror of
https://github.com/clearlinux/common.git
synced 2026-09-06 13:41:33 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12537cbfb0 | ||
|
|
d397ee463a | ||
|
|
dfe55331e6 | ||
|
|
0c69bfb9a9 | ||
|
|
689e48a2f7 | ||
|
|
82e334a93a | ||
|
|
ab6c4a674f | ||
|
|
78de1a6a13 | ||
|
|
74e79ffea2 | ||
|
|
bb21809c73 | ||
|
|
e912d4e6ae | ||
|
|
340b6a74d4 | ||
|
|
2e8f9ef0ab | ||
|
|
4bdd1765c5 | ||
|
|
45f39671d6 | ||
|
|
1d46a683e0 | ||
|
|
41d2113b8a | ||
|
|
528cd77168 | ||
|
|
916ce142bb | ||
|
|
e2a3b113f2 | ||
|
|
0acf617611 | ||
|
|
39aeb852fe | ||
|
|
0e7d7e336d | ||
|
|
2323c9924f | ||
|
|
da1f1f7483 | ||
|
|
723a925ed8 | ||
|
|
7e9ee1949d | ||
|
|
f0df3f7809 | ||
|
|
9f77c5b172 | ||
|
|
3c52bbd7d7 | ||
|
|
7203329212 | ||
|
|
b76562fe35 |
+4
-4
@@ -54,17 +54,17 @@ LATEST_SRPMS = $(LATEST_RELEASE)/source/SRPMS
|
|||||||
PACKAGES_FILE = $(TOPLVL)/projects/common/packages
|
PACKAGES_FILE = $(TOPLVL)/projects/common/packages
|
||||||
|
|
||||||
# Configuration file for autospec.
|
# Configuration file for autospec.
|
||||||
AUTOSPEC_CONF = $(TOPLVL)/projects/common/autospec.conf
|
AUTOSPEC_CONF = $(TOPLVL)/projects/common/conf/autospec.conf
|
||||||
|
|
||||||
# Set this variable to any non-empty value to use the package mappings stored
|
# Set this variable to any non-empty value to use the package mappings stored
|
||||||
# in "pkg-mapping" for cloning/pulling package repos.
|
# in "pkg-mapping" for cloning/pulling package repos.
|
||||||
USE_PACKAGE_MAPPING = yes
|
USE_PACKAGE_MAPPING = yes
|
||||||
|
|
||||||
# Package manager config file. Default to the in-tree copy.
|
# Package manager config file. Default to the in-tree copy of dnf.conf.
|
||||||
PM_CONF = $(TOPLVL)/projects/common/image-creator/yum.conf
|
PM_CONF = $(TOPLVL)/projects/common/conf/dnf.conf
|
||||||
|
|
||||||
# Mock configuration file. Default to the in-tree copy.
|
# Mock configuration file. Default to the in-tree copy.
|
||||||
MOCK_CONF = $(TOPLVL)/projects/common/koji-client-files/clear.cfg
|
MOCK_CONF = $(TOPLVL)/projects/common/conf/clear.cfg
|
||||||
|
|
||||||
|
|
||||||
# Include any site local configuration variables. These variables may override
|
# Include any site local configuration variables. These variables may override
|
||||||
|
|||||||
+2
-1
@@ -10,6 +10,7 @@ include $(TOPLVL)/projects/common/Makefile.shared
|
|||||||
SHELL = /bin/bash
|
SHELL = /bin/bash
|
||||||
|
|
||||||
PKGS = $(shell cat $(PACKAGES_FILE))
|
PKGS = $(shell cat $(PACKAGES_FILE))
|
||||||
|
PKGS_LOCAL = $(sort $(filter ${PKGS},$(subst packages/,,$(wildcard packages/*))))
|
||||||
|
|
||||||
proj_PKGS = $(addprefix proj_,$(PROJ_PKGS))
|
proj_PKGS = $(addprefix proj_,$(PROJ_PKGS))
|
||||||
clone_PKGS = $(addprefix clone_,$(PKGS))
|
clone_PKGS = $(addprefix clone_,$(PKGS))
|
||||||
@@ -64,7 +65,7 @@ cvecheck:
|
|||||||
#help of merge commits, while displaying any changes since your last pull. It is
|
#help of merge commits, while displaying any changes since your last pull. It is
|
||||||
#help silent if there are no changes.
|
#help silent if there are no changes.
|
||||||
.PHONY: pull ${PULL_PKGS}
|
.PHONY: pull ${PULL_PKGS}
|
||||||
PULL_PKGS:= $(addprefix PULL_projects/,$(PROJ_PKGS)) $(addprefix PULL_packages/,$(PKGS))
|
PULL_PKGS:= $(addprefix PULL_projects/,$(PROJ_PKGS)) $(addprefix PULL_packages/,${PKGS_LOCAL})
|
||||||
${PULL_PKGS}:
|
${PULL_PKGS}:
|
||||||
@p=$(patsubst PULL_%,%,$@) ; \
|
@p=$(patsubst PULL_%,%,$@) ; \
|
||||||
if [ ! -d "$$p/.git" ]; then echo "Nothing to pull for $$p - $$p/.git missing"; exit 0; fi; \
|
if [ ! -d "$$p/.git" ]; then echo "Nothing to pull for $$p - $$p/.git missing"; exit 0; fi; \
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ $ make build
|
|||||||
|
|
||||||
In the past, the various make commands that call `mock` required a mock config
|
In the past, the various make commands that call `mock` required a mock config
|
||||||
installed at `/etc/mock/clear.cfg`. However, at present, the commands will
|
installed at `/etc/mock/clear.cfg`. However, at present, the commands will
|
||||||
instead use the mock config within this repo (`koji-client-files/clear.cfg`).
|
instead use the mock config within this repo (`conf/clear.cfg`).
|
||||||
|
|
||||||
If you wish to use a custom mock config, you must override the `MOCK_CONF`
|
If you wish to use a custom mock config, you must override the `MOCK_CONF`
|
||||||
variable to specify a different value to pass to mock's `-r` option. The value
|
variable to specify a different value to pass to mock's `-r` option. The value
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
# Configuration files
|
||||||
|
|
||||||
|
This directory contains various configuration files used by the developer
|
||||||
|
tooling framework.
|
||||||
|
|
||||||
|
Unless otherwise noted in the config file documentation below, the config files
|
||||||
|
can be modified with custom, site-local changes by modifying a variable in
|
||||||
|
`Makefile.config.site_local` to point to a location of your choice (e.g.
|
||||||
|
somewhere in `/etc`). The framework will then read the config file from the
|
||||||
|
location you have specified instead, so copy the in-tree copy to that location
|
||||||
|
as a starting point if you need to.
|
||||||
|
|
||||||
|
* `autospec.conf`: default Autospec configuration file used by `make autospec`
|
||||||
|
and `make autospecnew`. All configuration is commented out by default, so
|
||||||
|
default Autospec settings are used. Config variable: `AUTOSPEC_CONF`
|
||||||
|
|
||||||
|
* `clear.cfg`: default Mock configuration file used by various targets that
|
||||||
|
call out to Mock. Config variable: `MOCK_CONF`
|
||||||
|
|
||||||
|
* `dnf.conf`: DNF conf for use as the package manager configuration file, made
|
||||||
|
available for the framework's local repo support. Config variable: `PM_CONF`
|
||||||
|
|
||||||
|
* `yum.conf`: YUM conf for use as the package manager configuration file, made
|
||||||
|
available for the framework's local repo support. Config variable: `PM_CONF`
|
||||||
|
|
||||||
|
* `koji.conf`: template Koji configuration file. It is installed by
|
||||||
|
`user-setup.sh` to `/etc/koji.conf`, and the in-tree copy is not used. If you
|
||||||
|
are using Koji with the framework, you will need to modify `/etc/koji.conf`
|
||||||
|
according to how the Koji instance is set up for your environment. Configuring
|
||||||
|
the installation location via `Makefile.config.site_local` is not possible at
|
||||||
|
the moment but is a planned feature.
|
||||||
@@ -18,6 +18,6 @@
|
|||||||
# an absolute path or a path relative to this autospec.conf.
|
# an absolute path or a path relative to this autospec.conf.
|
||||||
#packages_file =
|
#packages_file =
|
||||||
|
|
||||||
# Path to yum config, used for generating whatrequires. It can be an absolute
|
# Path to dnf/yum config, used for generating whatrequires. It can be an absolute
|
||||||
# path or a path relative to this autospec.conf.
|
# path or a path relative to this autospec.conf.
|
||||||
#yum_conf =
|
#yum_conf =
|
||||||
@@ -10,13 +10,14 @@ config_opts['releasever'] = 'clear'
|
|||||||
config_opts['package_manager'] = 'dnf'
|
config_opts['package_manager'] = 'dnf'
|
||||||
|
|
||||||
|
|
||||||
config_opts['yum.conf'] = """
|
config_opts['dnf.conf'] = """
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
cachedir=/var/cache/yum
|
cachedir=/var/cache/dnf
|
||||||
|
keepcache=1
|
||||||
debuglevel=1
|
debuglevel=1
|
||||||
reposdir=/dev/null
|
reposdir=/dev/null
|
||||||
logfile=/var/log/yum.log
|
logfile=/var/log/dnf.log
|
||||||
retries=20
|
retries=20
|
||||||
obsoletes=1
|
obsoletes=1
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
[main]
|
||||||
|
keepcache=1
|
||||||
|
debuglevel=1
|
||||||
|
logfile=/var/log/dnf.log
|
||||||
|
exactarch=1
|
||||||
|
obsoletes=1
|
||||||
|
gpgcheck=0
|
||||||
|
plugins=0
|
||||||
|
retries=10
|
||||||
|
installonly_limit=3
|
||||||
|
reposdir=/root/mash
|
||||||
|
|
||||||
|
[clear]
|
||||||
|
name=Clear
|
||||||
|
baseurl=https://cdn.download.clearlinux.org/current/x86_64/os/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
|
||||||
|
[clear-source]
|
||||||
|
name=Clear sources
|
||||||
|
failovermethod=priority
|
||||||
|
baseurl=https://cdn.download.clearlinux.org/current/source/SRPMS/
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
@@ -7,6 +7,8 @@ FreeRDP
|
|||||||
GConf
|
GConf
|
||||||
Jinja2
|
Jinja2
|
||||||
Keras
|
Keras
|
||||||
|
Keras_Applications
|
||||||
|
Keras_Preprocessing
|
||||||
LS_COLORS
|
LS_COLORS
|
||||||
LVM2
|
LVM2
|
||||||
LibRaw
|
LibRaw
|
||||||
@@ -25,6 +27,7 @@ OpenSP
|
|||||||
Paste
|
Paste
|
||||||
PasteDeploy
|
PasteDeploy
|
||||||
Pillow
|
Pillow
|
||||||
|
PyMySQL
|
||||||
PyWavelets
|
PyWavelets
|
||||||
PyYAML
|
PyYAML
|
||||||
Pygments
|
Pygments
|
||||||
@@ -222,6 +225,7 @@ R-flexmix
|
|||||||
R-forcats
|
R-forcats
|
||||||
R-foreach
|
R-foreach
|
||||||
R-formatR
|
R-formatR
|
||||||
|
R-fossil
|
||||||
R-fpc
|
R-fpc
|
||||||
R-futile.logger
|
R-futile.logger
|
||||||
R-futile.options
|
R-futile.options
|
||||||
@@ -437,6 +441,7 @@ R-setRNG
|
|||||||
R-sfsmisc
|
R-sfsmisc
|
||||||
R-sgeostat
|
R-sgeostat
|
||||||
R-shape
|
R-shape
|
||||||
|
R-shapefiles
|
||||||
R-shiny
|
R-shiny
|
||||||
R-shinyjs
|
R-shinyjs
|
||||||
R-shinystan
|
R-shinystan
|
||||||
@@ -481,6 +486,7 @@ R-tidyr
|
|||||||
R-tidyselect
|
R-tidyselect
|
||||||
R-tidyverse
|
R-tidyverse
|
||||||
R-timeDate
|
R-timeDate
|
||||||
|
R-tinytex
|
||||||
R-tis
|
R-tis
|
||||||
R-tm
|
R-tm
|
||||||
R-topicmodels
|
R-topicmodels
|
||||||
@@ -505,6 +511,7 @@ R-xtable
|
|||||||
R-xts
|
R-xts
|
||||||
R-yaml
|
R-yaml
|
||||||
R-zCompositions
|
R-zCompositions
|
||||||
|
R-zip
|
||||||
R-zoo
|
R-zoo
|
||||||
Remmina
|
Remmina
|
||||||
SDL
|
SDL
|
||||||
@@ -541,7 +548,6 @@ accountsservice
|
|||||||
acl
|
acl
|
||||||
acme
|
acme
|
||||||
acpica-unix2
|
acpica-unix2
|
||||||
acrn-devicemodel
|
|
||||||
acrn-hypervisor
|
acrn-hypervisor
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
aeon
|
aeon
|
||||||
@@ -735,6 +741,7 @@ connect-proxy
|
|||||||
connman
|
connman
|
||||||
connman-gtk
|
connman-gtk
|
||||||
conntrack-tools
|
conntrack-tools
|
||||||
|
console-autostart
|
||||||
containerd
|
containerd
|
||||||
contextlib2
|
contextlib2
|
||||||
coreutils
|
coreutils
|
||||||
@@ -903,6 +910,7 @@ gevent
|
|||||||
gexiv2
|
gexiv2
|
||||||
gfbgraph
|
gfbgraph
|
||||||
gflags
|
gflags
|
||||||
|
gftp
|
||||||
ghostscript
|
ghostscript
|
||||||
gimp
|
gimp
|
||||||
git
|
git
|
||||||
@@ -1111,6 +1119,11 @@ jupyter_core
|
|||||||
jupyterlab
|
jupyterlab
|
||||||
jupyterlab_launcher
|
jupyterlab_launcher
|
||||||
kafka-dep
|
kafka-dep
|
||||||
|
kata-image
|
||||||
|
kata-proxy
|
||||||
|
kata-qemu-lite
|
||||||
|
kata-runtime
|
||||||
|
kata-shim
|
||||||
kbd
|
kbd
|
||||||
kernel-install
|
kernel-install
|
||||||
kexec-tools
|
kexec-tools
|
||||||
@@ -1216,6 +1229,7 @@ libisofs
|
|||||||
libjpeg-turbo
|
libjpeg-turbo
|
||||||
libjpeg-turbo-soname8
|
libjpeg-turbo-soname8
|
||||||
libksba
|
libksba
|
||||||
|
libmbim
|
||||||
libmediaart
|
libmediaart
|
||||||
libmnl
|
libmnl
|
||||||
libmspack
|
libmspack
|
||||||
@@ -1241,6 +1255,7 @@ libpipeline
|
|||||||
libpng
|
libpng
|
||||||
libpthread-stubs
|
libpthread-stubs
|
||||||
libpwquality
|
libpwquality
|
||||||
|
libqmi
|
||||||
librepo
|
librepo
|
||||||
librsvg
|
librsvg
|
||||||
librtlsdr
|
librtlsdr
|
||||||
@@ -1269,6 +1284,7 @@ libunistring
|
|||||||
libunwind
|
libunwind
|
||||||
libusb
|
libusb
|
||||||
libuser
|
libuser
|
||||||
|
libuv
|
||||||
libva
|
libva
|
||||||
libva-intel-driver
|
libva-intel-driver
|
||||||
libva-utils
|
libva-utils
|
||||||
@@ -1305,6 +1321,7 @@ linux-gce
|
|||||||
linux-hyperv
|
linux-hyperv
|
||||||
linux-hyperv-lts
|
linux-hyperv-lts
|
||||||
linux-hyperv-mini
|
linux-hyperv-mini
|
||||||
|
linux-kata
|
||||||
linux-kvm
|
linux-kvm
|
||||||
linux-libc-headers
|
linux-libc-headers
|
||||||
linux-lts
|
linux-lts
|
||||||
@@ -1341,11 +1358,14 @@ mc
|
|||||||
mccabe
|
mccabe
|
||||||
mcelog
|
mcelog
|
||||||
mdadm
|
mdadm
|
||||||
|
meld
|
||||||
|
memkind
|
||||||
memshrinker
|
memshrinker
|
||||||
mesa
|
mesa
|
||||||
mesa-demos
|
mesa-demos
|
||||||
meson
|
meson
|
||||||
metacity
|
metacity
|
||||||
|
metrics-discovery
|
||||||
micro-config-drive
|
micro-config-drive
|
||||||
micro-config-drive-aws
|
micro-config-drive-aws
|
||||||
micro-config-drive-oci
|
micro-config-drive-oci
|
||||||
@@ -1362,6 +1382,7 @@ mock
|
|||||||
mod_wsgi
|
mod_wsgi
|
||||||
moka-icon-theme
|
moka-icon-theme
|
||||||
more-itertools
|
more-itertools
|
||||||
|
moreutils
|
||||||
mosh
|
mosh
|
||||||
motd-update
|
motd-update
|
||||||
motif
|
motif
|
||||||
@@ -1489,6 +1510,7 @@ patch
|
|||||||
patchutils
|
patchutils
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pbr
|
pbr
|
||||||
|
pbr-legacy
|
||||||
pbzip2
|
pbzip2
|
||||||
pciutils
|
pciutils
|
||||||
pcre
|
pcre
|
||||||
@@ -1585,6 +1607,7 @@ perl-Test-NoWarnings
|
|||||||
perl-Test-Output
|
perl-Test-Output
|
||||||
perl-Test-Pod
|
perl-Test-Pod
|
||||||
perl-Test-Requires
|
perl-Test-Requires
|
||||||
|
perl-Test-RequiresInternet
|
||||||
perl-Test-Simple
|
perl-Test-Simple
|
||||||
perl-Test-Taint
|
perl-Test-Taint
|
||||||
perl-Test-Warn
|
perl-Test-Warn
|
||||||
@@ -1619,6 +1642,7 @@ pidgin-sipe
|
|||||||
pigz
|
pigz
|
||||||
pinentry
|
pinentry
|
||||||
pip
|
pip
|
||||||
|
pip-legacy
|
||||||
pixman
|
pixman
|
||||||
pkcs11-helper
|
pkcs11-helper
|
||||||
pkg-config
|
pkg-config
|
||||||
@@ -1685,6 +1709,7 @@ python-augeas
|
|||||||
python-dateutil
|
python-dateutil
|
||||||
python-future
|
python-future
|
||||||
python-gflags
|
python-gflags
|
||||||
|
python-kconfiglib
|
||||||
python-krbV
|
python-krbV
|
||||||
python-magic
|
python-magic
|
||||||
python-memcached
|
python-memcached
|
||||||
@@ -1694,6 +1719,7 @@ python-multilib
|
|||||||
python-pkgconfig
|
python-pkgconfig
|
||||||
python-pocketlint
|
python-pocketlint
|
||||||
python-polib
|
python-polib
|
||||||
|
python-rpm-legacypython
|
||||||
python-subunit
|
python-subunit
|
||||||
python-systemd
|
python-systemd
|
||||||
python-tappy
|
python-tappy
|
||||||
@@ -1758,6 +1784,7 @@ rpm
|
|||||||
rr
|
rr
|
||||||
rsa
|
rsa
|
||||||
rsync
|
rsync
|
||||||
|
rt-tests
|
||||||
ruby
|
ruby
|
||||||
runc
|
runc
|
||||||
rust-std32
|
rust-std32
|
||||||
@@ -1788,6 +1815,7 @@ serf
|
|||||||
setproctitle
|
setproctitle
|
||||||
setserial
|
setserial
|
||||||
setuptools
|
setuptools
|
||||||
|
setuptools-legacy
|
||||||
setuptools_scm
|
setuptools_scm
|
||||||
setuptools_scm_git_archive
|
setuptools_scm_git_archive
|
||||||
shadow
|
shadow
|
||||||
@@ -1826,11 +1854,13 @@ spice-protocol
|
|||||||
spyder-notebook
|
spyder-notebook
|
||||||
sqlite-autoconf
|
sqlite-autoconf
|
||||||
sqlparse
|
sqlparse
|
||||||
|
squashfs-tools
|
||||||
sshfs
|
sshfs
|
||||||
stack
|
stack
|
||||||
startup-notification
|
startup-notification
|
||||||
stow
|
stow
|
||||||
strace
|
strace
|
||||||
|
stress-ng
|
||||||
subunit
|
subunit
|
||||||
subversion
|
subversion
|
||||||
sudo
|
sudo
|
||||||
@@ -1935,6 +1965,7 @@ volume_key
|
|||||||
vsqlite
|
vsqlite
|
||||||
vte
|
vte
|
||||||
vulkan-sdk
|
vulkan-sdk
|
||||||
|
waffle
|
||||||
waitress
|
waitress
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ if [ "$#" -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e /etc/yum.conf ]; then
|
if [ ! -e /etc/yum.conf ]; then
|
||||||
echo "Error: yum.conf is missing. Please copy projects/common/image-creator/yum.conf to /etc"
|
echo "Error: yum.conf is missing. Please copy projects/common/conf/yum.conf to /etc"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Regular → Executable
+1
@@ -54,4 +54,5 @@ qemu-system-x86_64 \
|
|||||||
-drive file="$IMAGE",if=virtio,aio=threads,format=raw \
|
-drive file="$IMAGE",if=virtio,aio=threads,format=raw \
|
||||||
-netdev user,id=mynet0,hostfwd=tcp::${VMN}0022-:22,hostfwd=tcp::${VMN}2375-:2375 \
|
-netdev user,id=mynet0,hostfwd=tcp::${VMN}0022-:22,hostfwd=tcp::${VMN}2375-:2375 \
|
||||||
-device virtio-net-pci,netdev=mynet0 \
|
-device virtio-net-pci,netdev=mynet0 \
|
||||||
|
-device virtio-rng-pci \
|
||||||
-debugcon file:debug.log -global isa-debugcon.iobase=0x402 $@
|
-debugcon file:debug.log -global isa-debugcon.iobase=0x402 $@
|
||||||
+1
-1
@@ -142,7 +142,7 @@ if [ "$USE_KOJI" ]; then
|
|||||||
|
|
||||||
if [ ! -f /etc/koji.conf ]; then
|
if [ ! -f /etc/koji.conf ]; then
|
||||||
echo "Setting up koji config . . ."
|
echo "Setting up koji config . . ."
|
||||||
sudo cp projects/common/koji-client-files/koji.conf /etc
|
sudo cp projects/common/conf/koji.conf /etc
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user