-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OdroidC2, can't end clean-install, menu-loop #3053
Comments
@pbecks1963 Can you please give some more details, which menu loops, paste of screen output/error messages and such? |
Photos.zip
<https://drive.google.com/file/d/1-kIg0lB1j6nym9wnns79-27hDE27zDw_/view?usp=drive_web>
Hello Michalng,
What i did: reflashed dietpi on a new sd-card. Took a lot of pictures
during the install process (ssh). For the record: i changed the root/Unix
passwords onces, in both instances the SAME password, i don't know if that
matters, just to mention it.
See attachments for install-process..
Greetz: Patrick
Op ma 12 aug. 2019 om 13:44 schreef MichaIng <[email protected]>:
… @pbecks1963 <https://github.com/pbecks1963>
Thanks for your report.
Can you please give some more details, which menu loops, paste of screen
output/error messages and such?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3053?email_source=notifications&email_token=AK3IQOYY4WZHAQLQAFKKOJ3QEFEI5A5CNFSM4IK7ZQPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4CIYJI#issuecomment-520391717>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AK3IQO2ZGJCL3AV6YJXQ37LQEFEI5ANCNFSM4IK7ZQPA>
.
|
@pbecks1963 No need to go on reading, as long as you're not interested in details, why the menu is so small, or the just implemented solution at the bottom 😉. Found the reason why the menu is so small, while the screen has sufficient size: https://github.com/MichaIng/DietPi/blob/dev/dietpi/dietpi-login#L165
Just to verify the issue:
On Buster this has been solved:
|
Thnx man! (that was it)
Greetz: Patrick
Op di 13 aug. 2019 om 02:47 schreef MichaIng <[email protected]>:
… @pbecks1963 <https://github.com/pbecks1963>
Ah I know the issue. The dietpi-software whiptail menu is so small that
the last entry is not visible, which need to be selected. Please us the
up/down arrow buttons and navigate to the very last menu entry, which is
"Install". This will finish first run setup.
No need to go on reading, as long as you're not interested in details 😉.
------------------------------
I also know the reason why the menu is so small, while the screen has
sufficient size:
https://github.com/MichaIng/DietPi/blob/dev/dietpi/dietpi-login#L165
- We call dietpi-software from login script and redirect STDOUT +
STDERR to log file, to have a firstrun setup log.
- It is already known that on Debian versions before Buster, tput
requires one of these two streams to estimate the correct console
dimensions, otherwise it uses some low defaults.
- Within dietpi-update the issue was the same:
https://github.com/MichaIng/DietPi/blob/dev/dietpi/dietpi-update#L469
- But as can be seen we implemented some terminal dimension
override system for this case.
- So we simply need to implement this for dietpi-software firstrun
call as well.
Just to verify the issue:
# Small whiptail
G_WHIP_MSG test 2>&1 | tee
# Large whiptail
G_WHIP_MSG test
# Due to wrong dimensions
***@***.***:~# tput cols 2>&1 | tee; tput lines 2>&1 | tee
80
24
# While this shows correct dimensions
***@***.***:~# tput cols; tput lines
237
71
On Buster this has been solved:
2019-08-12 14:10:58 ***@***.***:/tmp# tput cols
237
2019-08-13 01:45:38 ***@***.***:/tmp# tput cols 2>&1 | tee
237
------------------------------
Resolved for v6.26 with: 2443d5a
<2443d5a>
Changelog: 5bd537d
<5bd537d>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3053?email_source=notifications&email_token=AK3IQO2I3GJD7WVVAY7CC23QEIAAPA5CNFSM4IK7ZQPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4EG72Y#issuecomment-520646635>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AK3IQO7B3NWUDU52L54OYDTQEIAAPANCNFSM4IK7ZQPA>
.
|
Okay I mark this issue as closed. Feel free to reopen if required. |
Creating a bug report/issue
Required Information
cat /DietPi/dietpi/.version
echo $G_DISTRO_NAME
orcat /etc/debian_version
uname -a
echo $G_HW_MODEL_DESCRIPTION
or (EG: RPi3)Additional Information (if applicable)
sed -n 5p /DietPi/dietpi/.hw_model
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
The text was updated successfully, but these errors were encountered: