Skip to content

Commit 9b10508

Browse files
committed
Draft.
1 parent c4503fe commit 9b10508

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

_prog-ops/ops-custom.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ _custom() {
77

88
_messageNormal '***** ***** ***** ***** ***** custom: researchEngine'
99

10-
_chroot sudo -n -u user bash -c 'cd /home/user/core/infrastructure/ubiquitous_bash ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _gitBest pull ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _gitBest submodule update --recursive ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _setup_researchEngine'
10+
! _chroot sudo -n -u user bash -c 'cd /home/user/core/infrastructure/ubiquitous_bash ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _gitBest pull ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _gitBest submodule update --recursive ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _setup_researchEngine' && _messageFAIL
11+
_chroot /bin/bash -c '[ -e "'"/home/user/core/data/searxng/settings.yml.rej"'" ]' && _messageFAIL
1112

1213

1314
_messageNormal '***** ***** ***** ***** ***** custom: iconArt'
1415

15-
_chroot sudo -n -u user bash -c 'cd /home/user/core/infrastructure/iconArt ; ./ubiquitous_bash.sh _gitBest pull ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _fetch_iconArt'
16+
! _chroot sudo -n -u user bash -c 'cd /home/user/core/infrastructure/iconArt ; ./ubiquitous_bash.sh _gitBest pull ; chmod 755 ./ubiquitous_bash.sh ; ./ubiquitous_bash.sh _fetch_iconArt' && _messageFAIL
1617

1718

1819
! _closeChRoot && _messagePlain_bad 'fail: closeChroot' && _messageFAIL
@@ -56,7 +57,8 @@ _custom-expand() {
5657

5758
# ATTENTION: Expand ONLY the additional amount needed for custom additions . This is APPENDED .
5859
#! dd if=/dev/zero bs=1M count=25000 >> "$scriptLocal"/vm.img && _messageFAIL
59-
! dd if=/dev/zero bs=1M count=30000 >> "$scriptLocal"/vm.img && _messageFAIL
60+
#! dd if=/dev/zero bs=1M count=30000 >> "$scriptLocal"/vm.img && _messageFAIL
61+
! dd if=/dev/zero bs=1M count=40000 >> "$scriptLocal"/vm.img && _messageFAIL
6062

6163
# Alternatively, it may be possible, but STRONGLY DISCOURAGED, to pad the file to a size. This, however, assumes the upstream 'ubdist/OS', etc, has not unexpectedly grown larger, which is still a VERY BAD assumption.
6264
# https://unix.stackexchange.com/questions/196715/how-to-pad-a-file-to-a-desired-size

0 commit comments

Comments
 (0)