Compare commits

..

18 Commits

Author SHA1 Message Date
clrbuilder ef5179c975 Update packages file for version 25520
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-10 12:02:42 +00:00
clrbuilder fc9793ff4e Update packages file for version 25460
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-08 02:13:02 +00:00
clrbuilder 1508582709 Update packages file for version 25430
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-05 12:02:24 +00:00
clrbuilder fca82072fa Update packages file for version 25420
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-04 18:04:01 +00:00
clrbuilder 7fb07fdb29 Update packages file for version 25410
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-04 12:03:09 +00:00
Patrick McCarty 387cb23c79 Only add kvm group if needed
The user may have run the user-setup script previously, or they may
already belong to the 'kvm' group to begin with, so avoid running the
usermod command in these situations.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-10-03 16:28:44 -07:00
clrbuilder c63ed02014 Update packages file for version 25380
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-03 01:40:23 +00:00
clrbuilder d0773602f5 Update packages file for version 25360
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-02 00:47:15 +00:00
clrbuilder 7b2b947843 Update packages file for version 25340
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-10-01 16:18:23 +00:00
clrbuilder e619aeeab5 Update packages file for version 25330
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-29 00:43:51 +00:00
clrbuilder f041821042 Update packages file for version 25310
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-28 05:19:12 +00:00
clrbuilder 04e79ac6f7 Update packages file for version 25280
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-26 23:06:46 +00:00
clrbuilder 942c21283f Update packages file for version 25260
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 22:41:48 +00:00
clrbuilder 0803beead9 Update packages file for version 25240
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 22:10:02 +00:00
clrbuilder 8bf3888935 Update packages file for version 25220
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 21:12:26 +00:00
clrbuilder 3f2c7de583 Update packages file for version 25180
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-25 12:02:49 +00:00
clrbuilder 514048840f Update packages file for version 25160
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2018-09-24 02:55:14 +00:00
Patrick McCarty 012a1a3767 Support pre-checks for autospec and autospecnew too
For some commands, it is useful to be able to add custom prerequisites.
We already support this for `make koji` and `make build`, and there was
just a request to add it for `make autospec` and `make autospecnew`.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2018-09-21 12:12:23 -07:00
4 changed files with 54 additions and 7 deletions
+3 -1
View File
@@ -154,13 +154,15 @@ pullrebase:
fi \
fi
preautospec-checks:
#help autospec: automatically generates a specfile. If there is
#help already a specfile, it will be overwritten. Several files used by
#help autospec will be created in the process.
#help Use MOCK_OPTS environment varible to pass down arbitrary mock options
#help to autospec.
#help For more information, see the project at https://github.com/clearlinux/autospec
autospec: pullrebase localreponotice clean-old-content
autospec: preautospec-checks pullrebase localreponotice clean-old-content
@if [ -e $(SPECFILE) ] && ! grep -q "# Generated by: autospec.py" $(SPECFILE) ; then \
echo "Specfile already exists and was not created by autospec.py! Aborting."; \
exit 1; \
+3 -1
View File
@@ -190,13 +190,15 @@ releases: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
provides:
@$(TOPLVL)/projects/common/provides.sh -f $(FP) -r $(RN)
preautospecnew-checks:
#help autospecnew: Creates a new autospec package with for a given URL=$(URL)
#help with NAME=$(NAME). Several files used by autospec will be created in the
#help process.
#help Use MOCK_OPTS environment varible to pass down arbitrary mock options
#help to autospec.
#help For more information about autospec, see the project page on Github https://github.com/clearlinux/autospec
autospecnew: localreponotice
autospecnew: preautospecnew-checks localreponotice
@if [ -z $(NAME) ] || [ -z $(URL) ]; then \
echo "Please specify NAME and URL. The ARCHIVES variable is optional."; \
exit 1; \
+36 -2
View File
@@ -41,6 +41,7 @@ Pint
PyDispatcher
PyJWT
PyMySQL
PyNaCl
PyWavelets
PyYAML
Pygments
@@ -785,6 +786,9 @@ Theano
Thunar
UkPostcodeParser
Vertex-theme
Vulkan-Headers
Vulkan-Loader
Vulkan-Tools
WALinuxAgent
WSGIProxy2
WSME
@@ -1012,6 +1016,7 @@ cgdb
cgit
chardet
check
check-manifest
cheese
cheroot
chrome-gnome-shell
@@ -1092,6 +1097,7 @@ commonmark
compat-SDL2-soname1
compat-cryptsetup-soname4
compat-efivar-soname0
compat-enchant-soname1
compat-fuse-soname2
compat-gegl
compat-gegl-0.3
@@ -1107,6 +1113,7 @@ compat-libpng-soname12
compat-libwebp-soname6
compat-llvm-soname4
compat-llvm-soname5
compat-llvm-soname6
compat-mpfr-soname4
compat-opencv-soname32
compat-opencv-soname33
@@ -1130,8 +1137,10 @@ cov-core
coverage
cpio
cppcheck
cpprestsdk
cppunit
cpuid
cpuloadgen
cracklib
crcmod
createrepo_c
@@ -1156,6 +1165,7 @@ cyrus-sasl
dapl
darktable
dask
datefudge
db
dbus
dbus-broker
@@ -1191,6 +1201,7 @@ django-discover-runner
django-nose
django-pyscss
django_compressor
dlt-daemon
dmenu
dmidecode
dnf
@@ -1214,6 +1225,7 @@ dosfstools
double-conversion
dovecot
doxygen
dpcontracts
dpdk
dracut
dragon
@@ -1523,6 +1535,7 @@ idna-ssl
ifaddr
iftop
ilmbase
image
imagesize
imapfilter
imlib2
@@ -1540,6 +1553,8 @@ ioping
iotop
ipaddr
ipaddress
ipdb
ipdbplugin
iperf
ipmctl
ipmitool
@@ -1596,6 +1611,7 @@ jupyter_console
jupyter_core
jupyterlab
jupyterlab_launcher
jupyterlab_server
kactivities
kactivities-stats
kactivitymanagerd
@@ -1768,6 +1784,7 @@ kqtquickcharts
krb5
krdc
kreversi
krita
kross
kruler
krunner
@@ -1997,6 +2014,7 @@ libsigc++
libsmbios
libsmi
libsndfile
libsodium
libsolv
libsoup
libspectre
@@ -2059,6 +2077,7 @@ linux-gce
linux-hyperv
linux-hyperv-lts
linux-hyperv-mini
linux-iot-lts2018
linux-kata
linux-kvm
linux-libc-headers
@@ -2132,6 +2151,7 @@ mistune
mixer-tools
mkfontdir
mkfontscale
mkl-dnn
mkosi
mobile-broadband-provider-info
mock
@@ -2158,6 +2178,7 @@ mpfr
mpg123
mpi4py
mpmath
mraa
msgpack
msmtp
msr-tools
@@ -2229,8 +2250,10 @@ nrpe
nspr
nss
nss-altfiles
nss-pam-ldapd
ntfs-3g
ntlm-auth
ntp
ntplib
numactl
numatop
@@ -2251,6 +2274,7 @@ olefile
onig
onnx
opa-psm2
opcodes
open-iscsi
open-isns
open-lldp
@@ -2322,6 +2346,9 @@ p11-kit
p7zip
packaging
pacrunner
paho-mqtt
paho.mqtt.c
paho.mqtt.cpp
palapeli
pandas
pandoc
@@ -2747,6 +2774,7 @@ perl-Net-IDN-Encode
perl-Net-INET6Glue
perl-Net-Ident
perl-Net-MAC
perl-Net-MQTT
perl-Net-NTP
perl-Net-OpenID-Common
perl-Net-OpenID-Consumer
@@ -3098,11 +3126,11 @@ pyflakes
pygobject
pyinotify
pykerberos
pylama
pyliblzma
pylint
pymemcache
pymongo
pynacl
pypandoc
pyparsing
pyperclip
@@ -3110,6 +3138,7 @@ pypowervm
pyquery
pyreadline
pyrfc3339
pyroma
pyroute2
pyrsistent
pysaml2
@@ -3119,6 +3148,7 @@ pysnmp
pytest
pytest-cov
pytest-forked
pytest-randomly
pytest-repeat
pytest-rerunfailures
pytest-runner
@@ -3132,12 +3162,14 @@ python-barbicanclient
python-ceilometerclient
python-cinderclient
python-dateutil
python-dateutil-legacypython
python-designateclient
python-editor
python-future
python-gflags
python-glanceclient
python-heatclient
python-hwinfo
python-kconfiglib
python-keystoneclient
python-krbV
@@ -3170,6 +3202,7 @@ python-urwid
python-zaqarclient
python-zeep
python3
pytools
pytz
pyudev
pywbem
@@ -3310,6 +3343,7 @@ sg3_utils
shadow
shared-mime-info
sharutils
shell
shim
siege
simg-tools
@@ -3510,7 +3544,6 @@ voluptuous
voluptuous-serialize
vsqlite
vte
vulkan-sdk
waffle
waitress
warlock
@@ -3529,6 +3562,7 @@ weston
wget
wheel
which
whois
widgetsnbextension
winpdb
wireless-regdb-master
+12 -3
View File
@@ -6,6 +6,7 @@ SERVERCA=""
CLIENTCA=""
WORKSPACE="clearlinux"
PACKAGE_REPOS=
NEEDS_KVM_GROUP=
help() {
printf "%s\n" >&2 "Usage: $SCRIPT [options]" \
@@ -115,6 +116,10 @@ required_progs() {
required_progs
if ! groups | grep -qw kvm; then
NEEDS_KVM_GROUP=1
fi
echo "Initializing development workspace in \"$WORKSPACE\" . . ."
mkdir "$WORKSPACE"
@@ -146,8 +151,10 @@ if [ "$USE_KOJI" ]; then
fi
fi
echo "Adding user to kvm group . . ."
sudo usermod -a -G kvm $USER
if [ -n "$NEEDS_KVM_GROUP" ]; then
echo "Adding user to kvm group . . ."
sudo usermod -a -G kvm $USER
fi
echo "Cloning special project repositories . . ."
make ${JOBS_ARG} clone-projects
@@ -179,7 +186,9 @@ if [ -z "$PACKAGE_REPOS" ]; then
echo "NOTE: To clone all package repos, run \"cd $WORKSPACE; make [-j NUM] clone-packages\""
echo "NOTE: To clone a single package repo with NAME, run \"cd $WORKSPACE; make clone_NAME\""
fi
echo 'NOTE: logout and log back in to finalize the setup process'
if [ -n "$NEEDS_KVM_GROUP" ]; then
echo 'NOTE: logout and log back in to finalize the setup process'
fi
# vi: ft=sh sw=2 et sts=2