busybox Questions
4
Solved
Following code works for bash but now i need it for busybox ash , which apparrently does not have "=~"
keyword="^Cookie: (.*)$"
if [[ $line =~ $keyword ]]
then
bla bla
fi
Is there a suitable re...
8
Solved
2
Solved
Reproduce steps:
kubectl run busybox1 --generator=run-pod/v1 --image=busybox:1.28 -- sleep 3600
kubectl run busybox2 --generator=run-pod/v1 --image=busybox:1.31.1 -- sleep 3600
kubectl exec -ti b...
Sandhurst asked 1/1, 2020 at 16:0
1
I'm building a Yocto (thud) image but I had an error during do_rootfs:
update-alternatives: Error: not linking xxx/tmp/work/cc-dey-linux/dey-image/1.0-r0/rootfs/usr/sbin/rtcwake to /bin/busybox.no...
3
I am trying to compile linux for RISCV Arch using buildroot(busybox). I was using 18.04 and 20.04 previously and had no issues compiling it. Right now, I have upgraded it to 21.10 for building some...
Gilt asked 26/10, 2021 at 8:17
7
Solved
Given a binary, compiled with Go using GOOS=linux and GOARCH=amd64, deployed to a docker container based on alpine:3.3, the binary will not run if the docker engine host is Ubuntu (15.10):
sh: /bi...
Lapham asked 29/3, 2016 at 8:34
2
I've downloaded the source for mips android and have done a "make" and got the emulator running. I want to push the busybox into the emulator. I've downloaded the static compiled busybox binary. Un...
Simla asked 17/3, 2011 at 7:34
8
Solved
I am using busybox to detect my network problem in kubernetes v1.18 pods. I created the busybox like this:
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: default
spec:
containers:
...
Authentic asked 11/7, 2020 at 9:20
3
I have arm-based busybox (Embedded Linux) with limited binaries. How to http post or put without using curl?
1
I have the following Job to build Images in my gitlab-ci.yml
dockerize:
stage: containerize
before_script:
- eval $($CONTEXT_SCRIPT_PATH)
environment:
name: $CONTEXT
url: XXX
image:
name: g...
3
I was a little confused with below command:
kubectl run busybox --image=busybox --restart=Never -o yaml --dry-run -- /bin/sh -c 'echo hello;sleep 3600'
YAML:
apiVersion: v1
kind: Pod
metadata:
...
Prothesis asked 9/12, 2019 at 11:50
6
Solved
I'm using awk to urldecode some text.
If I code the string into the printf statement like printf "%s", "\x3D" it correctly outputs =. The same if I have the whole escaped string as a variable.
Ho...
3
Solved
I am currently building a POS automation script. The POS terminal has Shell Busybox ash. That's why am not able to use the basic commands, as those are not behaving the same.
Below is the query :
S...
2
Solved
What is the difference between alpine docker image and busybox docker image ?
When I check their dockfiles, alpine is like this (for Alpine v3.12 - 3.12.7)
FROM scratch
ADD alpine-minirootfs-3.12.7...
Lordship asked 14/5, 2021 at 4:23
1
The ash shell in busybox doesn't seem to implement any of the standard ways to get the filename that's being sourced. For instance:
testo:
#!/usr/bin/env -S busybox ash
echo hello whorl
echo using...
1
Running an image based alpine with busybox and ash:
/mnt/builddir/code/src/main/helm # busybox | head -1
BusyBox v1.31.1 () multi-call binary.
I wrote an sh script that prints file's names only if...
3
I compiled busybox myself,and I put it in our embedded linux. But I have some questions.
Question 1:When I try to use some command such as gzip,it prints "gzip: applet not found".While I checked t...
8
I have been trying to create my own busybox base image.
# ./mkimage.sh -t pensu/busybox busybox-static
+ mkdir -p /var/tmp/docker-mkimage.US3tHy0uBQ/rootfs
+ tar --numeric-owner -caf /var/tm...
5
How does one reboot from an ash shell?
I have an Ubuntu system that is currently bricked for some reason (not pertinent for this question), which means I boot into a BusyBox ash shell. But t...
2
Solved
How to schedule a cronjob which executes a kubectl command?
I would like to run the following kubectl command every 5 minutes:
kubectl patch deployment runners -p '{"spec":{"template":{"spec":{"c...
Tinkling asked 27/2, 2019 at 11:7
2
Solved
I would expect the second line to say foo instead of command not found:
$ alias foo="echo bac" ; foo;
-bash: foo: command not found
$ foo
bac
$
Why won't the second line say foo? Tested with the...
Illmannered asked 22/7, 2016 at 12:36
3
Solved
I tried different variants
echo $0
echo $shell
echo $SHELL
ps -p $$
but none of them can give a distinctive output. I can do something like this but it's ugly and hackish:
if ls --help 2>&am...
4
I am trying to install busybox on an android emulator.
I downloaded and compiled busybox and have the busybox binary on my pc.
i then did adb push busybox /data/local/tmp
then did adb shell, the...
Staples asked 20/2, 2014 at 7:5
3
I thought I understood Docker. I understood it as a way to package up software with lots of dependencies..to basically create a little world where absolutely everything is taken care of for a piece...
6
Solved
My problem is that I need to create a file with this exact bytes: 48, 00, 49, 00.
I cannot use C, perl, other scripting language (the target is an embedded device). I tried this using awk, and in ...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.