mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
new dbgutils(nano,smartctl)
wip
This commit is contained in:
parent
706ee256e4
commit
fefd5245a1
4
TODO
4
TODO
@ -1,8 +1,6 @@
|
||||
A fazer
|
||||
- Checar se tem como atualizar microcode via addon/modules/whatever...
|
||||
- Estudar acrescentar modo simples e avançado do menu
|
||||
- Adicionar mais bnários para o addon dbgutils (nano, trace, etc)
|
||||
- Retirar o ttyd da memória quando o root do dsm dar boot
|
||||
|
||||
Concluidos:
|
||||
- Generalizar código dos addons
|
||||
@ -31,3 +29,5 @@ Concluidos:
|
||||
- Mudar synoinfo para ler do modelo e preencher no user_config, para usuário poder deletar entradas do modelo
|
||||
- Validar netif_num e macX
|
||||
- Descobrir como é o serial do DS2422+
|
||||
- Retirar o ttyd da memória quando o root do dsm dar boot
|
||||
- Adicionar mais binários para o addon dbgutils (nano, strace, etc)
|
||||
|
@ -24,15 +24,18 @@ ENV SHELL=/bin/bash \
|
||||
|
||||
RUN apt update --yes && \
|
||||
apt install --yes --no-install-recommends --no-install-suggests \
|
||||
ca-certificates nano curl bc kmod git gettext texinfo autopoint \
|
||||
ca-certificates nano curl bc kmod git gettext texinfo autopoint gawk sudo \
|
||||
build-essential make ncurses-dev libssl-dev autogen automake pkg-config libtool xsltproc gperf && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
useradd --home-dir /input --no-create-home --shell /bin/bash --uid 1000 arpl && \
|
||||
echo "arpl ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/arpl
|
||||
|
||||
COPY --from=stage /opt /opt
|
||||
COPY files/ /
|
||||
|
||||
WORKDIR /input
|
||||
VOLUME /input /output
|
||||
USER arpl
|
||||
|
||||
ENTRYPOINT ["/opt/do.sh"]
|
||||
|
@ -15,6 +15,9 @@ function export-vars() {
|
||||
export LDFLAGS="-I/opt/${1}/lib"
|
||||
export LD_LIBRARY_PATH="/opt/${1}/lib"
|
||||
export ARCH=x86_64
|
||||
export PATH="/opt/${1}/bin:${PATH}"
|
||||
export CC="x86_64-pc-linux-gnu-gcc"
|
||||
export LD="x86_64-pc-linux-gnu-ld"
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user