summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-platform/packagegroups
AgeCommit message (Expand)AuthorFilesLines
2021-11-20Convert to new override syntaxScott Murray4-7/+7
2021-01-11Remove smacknet from packagegroup-security-frameworkJan-Simon Moeller1-1/+0
2020-12-17SPEC-3723: restructure meta-aglJan-Simon Moeller7-15/+72
2019-11-07Cynagora: Replace cynara with cynagoraJosé Bollo1-1/+1
2018-12-14systemd: Refactor build using smack-system-setupJosé Bollo1-0/+1
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller3-0/+14
L-1.0 <http://spdx.org/licenses/EPL-1.0> ############################################################################## # Copyright (c) 2016 The Linux Foundation and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## ####################### # Create Jenkins User # ####################### OS=$(facter operatingsystem | tr '[:upper:]' '[:lower:]') useradd -m -s /bin/bash jenkins # Check if docker group exists grep -q docker /etc/group if [ "$?" == '0' ] then # Add jenkins user to docker group usermod -a -G docker jenkins fi # Check if mock group exists grep -q mock /etc/group if [ "$?" == '0' ] then # Add jenkins user to mock group so they can build Int/Pack's RPMs usermod -a -G mock jenkins fi mkdir /home/jenkins/.ssh mkdir /w cp -r /home/${OS}/.ssh/authorized_keys /home/jenkins/.ssh/authorized_keys # Generate ssh key for use by Robot jobs echo -e 'y\n' | ssh-keygen -N "" -f /home/jenkins/.ssh/id_rsa -t rsa chown -R jenkins:jenkins /home/jenkins/.ssh /w