ci: populate users.table, add openssl.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
parent
ebc6949358
commit
6e212566ac
34
.drone.yml
34
.drone.yml
|
@ -11,23 +11,14 @@ steps:
|
|||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: dependencies
|
||||
- name: prepare environment
|
||||
environment:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
commands:
|
||||
- echo "Sleep 5 minutes to overcome the unattended-upgrades"
|
||||
- sleep 300
|
||||
- apt-get update
|
||||
- apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget
|
||||
|
||||
- name: patch defconfig
|
||||
environment:
|
||||
CONFIG_NAME: "rpi2_defconfig"
|
||||
commands:
|
||||
- .drone/patch_defconfig.sh
|
||||
|
||||
- name: configure
|
||||
commands:
|
||||
- .drone/install_dependencies.sh
|
||||
- .drone/populate_overlay.sh
|
||||
- .drone/patch_defconfig.sh
|
||||
- ./buildroot_make.sh rpi2_defconfig
|
||||
|
||||
- name: restore cache
|
||||
|
@ -77,23 +68,14 @@ steps:
|
|||
commands:
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: dependencies
|
||||
- name: prepare environment
|
||||
environment:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
commands:
|
||||
- echo "Sleep 5 minutes to overcome the unattended-upgrades"
|
||||
- sleep 300
|
||||
- apt-get update
|
||||
- apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget
|
||||
|
||||
- name: patch defconfig
|
||||
environment:
|
||||
CONFIG_NAME: "tlt113_minievm_defconfig"
|
||||
commands:
|
||||
- .drone/patch_defconfig.sh
|
||||
|
||||
- name: configure
|
||||
commands:
|
||||
- .drone/install_dependencies.sh
|
||||
- .drone/populate_overlay.sh
|
||||
- .drone/patch_defconfig.sh
|
||||
- ./buildroot_make.sh tlt113_minievm_defconfig
|
||||
|
||||
- name: restore cache
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Sleep 5 minutes to overcome the unattended-upgrade period"
|
||||
sleep 300
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
sed make binutils build-essential diffutils \
|
||||
gcc g++ bash patch gzip bzip2 perl tar cpio \
|
||||
unzip rsync file bc findutils wget openssl libssl-dev
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SOURCE_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/../" &> /dev/null && pwd )
|
||||
USERS_TABLE=${SOURCE_PATH}/external_tree/customizations/users.table
|
||||
|
||||
echo "Populating overlay directory..."
|
||||
|
||||
PASSWORD=$(openssl rand -hex 8)
|
||||
|
||||
echo "Generated default password for current build: ${PASSWORD}"
|
||||
|
||||
echo "imi415 1000 imi415 1000 =${PASSWORD} /home/imi415 /bin/bash wheel imi415" > ${USERS_TABLE}
|
Loading…
Reference in New Issue