프리셋 실패 및 종료 2

프리셋 실패 및 종료 2

Preseed가 나에게 적합하지 않은 것 같습니다. preseee/lat 명령을 실행하면 실패하고 종료됩니다. 2. 6번 정도 시도한 후 조언을 구하는 것이 좋습니다.

2번 출구로 나올 때마다

프로비저닝이 실패하는 부분은 다음과 같습니다.

d-i preseed/late_command string \
apt-install mednafen mame wget git openssh-server; \
in-target wget --no-check-certificate http://build.ppsspp.org/builds/iOS-fat/ppssppbuildbot-org.ppsspp.ppsspp-1.1.1-ios-fat.deb -O /home/arcadia/ppsspp.deb; \
in target dpkg -i /home/arcadia/ppsspp.deb; \
in-target git config http.sslVerify "false" && git clone https://github.com/Prezto/Arcadia /opt/arcadia; \
in-target echo '#!/bin/bash' > /usr/bin/arcadia; \
in-target echo '/opt/arcadia/Arcadia' > /usr/bin/arcadia; \
in-target chmod a+x /usr/bin/arcadia; \
in-target git config http.sslVerify "false" && git clone https://github.com/Prezto/Arcadia-splash /lib/plymouth/themes/arcadia-splash; \
in-target update-alternatives --install /lib/plymouth/themes/default.plymouth default.plymouth /lib/plymouth/themes/arcadia-splash/arcadia-splash.plymouth 100; \
in-target update-alternatives --set default.plymouth /lib/plymouth/themes/arcadia-splash/arcadia-splash.plymouth; \
in-target cat /etc/systemd/system/getty.target.wants/[email protected] | sed -e "s/ExecStart=-\/sbin\/agetty --noclear \%I \$TERM/ExecStart=-\/sbin\/agetty --autologin     arcadia --noclear \%I \$TERM/" > /etc/systemd/system/getty.target.wants/[email protected]; \
in-target mkdir -p /home/arcadia/.config/openbox; \
in-target echo 'hsetroot  /lib/plymouth/themes/arcadia-splash/arcadia.png &' > /home/arcadia/.config/openbox/autostart; \
in-target echo 'arcadia &' >> /home/arcadia/.config/openbox/autostart; \
in-target echo 'openbox-session' > /home/arcadia/.xinitrc

이게 무슨 문제인지 아는 사람 있나요? 왜 이것이 실패합니까?

고쳐 쓰다:

몇 시간 후에 스크립트를 대상 시스템에 복사하여 실행하는 것이 더 낫다는 것이 분명해졌습니다.

d-i preseed/late_command string cp -a /cdrom/preseed/post-install.sh /target/post-install.sh; in-target /bin/bash /post-install.sh

답변1

몇 시간 후에 스크립트를 대상 시스템에 복사하여 실행하는 것이 더 낫다는 것이 분명해졌습니다.

d-i preseed/late_command string cp -a /cdrom/preseed/post-install.sh /target/post-install.sh; in-target /bin/bash /post-install.sh

관련 정보