mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Naive attempt to use eatmydata
This commit is contained in:
parent
b9640a3ffb
commit
97f9693d48
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ function rebuild_base_lxc()
|
|||
IN_LXC="$lxc exec $LXC_BASE --"
|
||||
|
||||
INSTALL_SCRIPT="https://install.yunohost.org/$DIST"
|
||||
$IN_LXC apt install curl -y
|
||||
$IN_LXC apt install curl eatmydata -y
|
||||
$IN_LXC /bin/bash -c "curl $INSTALL_SCRIPT | bash -s -- -a -d $YNH_BRANCH"
|
||||
|
||||
$IN_LXC systemctl -q stop apt-daily.timer
|
||||
|
|
|
@ -159,7 +159,7 @@ LXC_EXEC () {
|
|||
start_timer
|
||||
|
||||
# Execute the command given in argument in the container and log its results.
|
||||
$lxc exec $LXC_NAME --env PACKAGE_CHECK_EXEC=1 -t -- /bin/bash -c "$cmd" | tee -a "$full_log" $current_test_log
|
||||
$lxc exec $LXC_NAME --env PACKAGE_CHECK_EXEC=1 -t -- /bin/bash -c "eatmydata $cmd" | tee -a "$full_log" $current_test_log
|
||||
|
||||
# Store the return code of the command
|
||||
local returncode=${PIPESTATUS[0]}
|
||||
|
|
Loading…
Add table
Reference in a new issue