Skip to content

DietPi-System | Quirks noticed by v158 image update  #1270

Closed

Description

@k-plan

General

  • - a typo in dietpi.txt
# >> Misc Options -----------------------------------
#Size of dphys-swapfile to generate (MB)
#   0=Disabled | 1=auto (1GB-RAM = size) | 2+=manual

since v155 size is now set to "2048 - total memory"
so it have to be:

# >> Misc Options -----------------------------------
#Size of dphys-swapfile to generate (MB)
#   0=Disabled | 1=auto (2GB-RAM = size) | 2+=manual

.

  • - missing feature in dietpi-drive_manager : exfat support
    easy it fix, if you want:
    apt-get install exfat-fuse exfat-utils
    (tested and work on updated images)

.

  • - update finalize:
  • automated delete of unwanted .xxxx files in /boot/dietpi/...
  • delete all unessential logfiles in /var/log/ ..., especially if you have tested different software and/or have change over to Logrotate and Rsyslog
  • delete all unessential files in /var/backup/ ...
  • delete all unwanted directory by image editing from other operation system like: .Trashes , .fseventsd , System Volume Information , etc.

.

  • - dphys-swapfile generation during inital installation process:
  • to speedup 2. boot process, I like to have only generated a fix dphys-swapfile of eg 100 MB (if we really need this?)
  • after printing initial setup dialog and after (or before) auto-update dietpi system files, you can create the dphys-swapfile size define in dietpi.txt eg auto (2GB-RAM = size)

Why? Because of generating such a large default dphys-swapfile during second bootup before dietpi has started is a really P.I.T.A. Particularly with slow SD cards and devices without a monitor option, so you don't know, what's really going on ...
Possilble that's user will break initial setup process because of the long periode of time without reaction during dphys-swapfile generation.
.....

......


Dependent on devices

  • - Patching 154 leave package which is no longer required: (OrangePi One, Odroide C1, PineA64, NanoPi Neo, RPi)
[Info] Patching 153 to 154
 
 The following packages will be REMOVED:
  pciutils*
apt-get upgrade

Reading state information... Done
Calculating upgrade... The following package was automatically installed and is no longer required:
  libpci3
Use 'apt-get autoremove' to remove it.

  • Fixed in updated images, but a patch will be helpfull

.

.

  • - can't change WiFi country code in dietpi-config
  • Odroid C1 => not working with USB: Ralink Technology, Corp. RT5370 Wireless Adapter
  • Odroid C1 => not working with USB: Edimax EW-7612UAn Realtek RTL8191SU
  • OrangePi One => not working with USB: Realtek Semiconductor Corp RTL8188EUS
  • NanoPi Neo => not working with USB:
    - ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
    - ID 1737:0079 Linksys WUSB600N v2 Dual-Band Wireless-N Network Adapter [Ralink RT3572]
    - ID 148f:2870 Ralink Technology, Corp. RT2870 Wireless Adapter
    - ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
    - ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
  • PineA64 => working with: Pine addon WiFi board

171203-0004

171203-0003

171203-0002

.

root@DietPi:~# cat /etc/apt/sources.list.d/armbian.list
deb http://apt.armbian.com jessie main jessie-utils jessie-desktop
  • Fixed in updated images

.
......

.......


Hints for special devices

oDroid C1:

  • dietpi.txt :
    cpu_governor=ondemand make no sense with Kernel 3.x, where is no such CPU governor
    171203-0001
    171203-0005
    change it in dietpi.txt by hand to cpu_governor=interactive before image building

.

oDroid C2:

  • - messages during (kernel) update:
grep: /etc/ssh/sshd_config: No such file or directory
/var/lib/dpkg/info/setup-odroid.postinst: line 5: /etc/ssh/sshd_config: No such file or directory
Failed to restart ssh.service: Unit ssh.service failed to load: No such file or directory.
patching file boot.ini
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 FAILED at 49.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 succeeded at 37 with fuzz 2 (offset -60 lines).
patching file boot.ini
Hunk #1 succeeded at 37 (offset -60 lines).
Hunk #2 succeeded at 70 (offset -60 lines).
patching file /boot/boot.ini
Hunk #1 succeeded at 87 (offset -60 lines).
patching file boot.ini
Hunk #1 FAILED at 49.
1 out of 1 hunk FAILED -- saving rejects to file boot.ini.rej
patching file boot.ini
Hunk #1 succeeded at 41 (offset -60 lines).
patching file boot.ini
Hunk #1 succeeded at 91 (offset -62 lines).
Hunk #2 succeeded at 122 (offset -62 lines).
Processing triggers for initramfs-tools (0.120+deb8u3) ...

So please better have a look into generated files during update:
boot.ini.C2.zip
But finalize write back your boot_c2.ini from master.

  • - removing setup-odroid (?)
    During first apt-get upgrade a new script setup-odroid was install:

171208-0001

Think, it is not needed and user can make with this any installation inconsistent.
Possible, it's as well included in other meveric based installations.

.

PineA64:

  • - dietpi-config => LED Control make no sense.
    It's only one red led on board and it can't be configured by dietpi-led_control.
    So it will be nice to remove this for PineA64 devices.

.

Raspberry Pi:

  • - dietpi-config => Advanced Options => Update firmware
    171210-0001
  • as long as if you want/will provide a custom kernel/firmware packet, I think, it's better to disable this option like it's done for other devices

.....

.....


Activity

  1. changed the title [-]DietPi-System | Quirk noticed by image update[/-] [+]DietPi-System | Quirks noticed by image update[/+] on Dec 3, 2017
  2. Fourdee commented on Dec 3, 2017

    @Fourdee
    Collaborator

    Thanks @k-plan,

    I'll take a look at this after v159. Wrapping up v159 + Stretch currently.

  3. added this to the milestone on Dec 3, 2017
  4. k-plan commented on Dec 3, 2017

    @k-plan
    ContributorAuthor

    @Fourdee

    Okay.
    If you willing to work on it, you can hack down the task list. 👍

  5. changed the title [-]DietPi-System | Quirks noticed by image update[/-] [+]DietPi-System | Quirks noticed by v158 image update [/+] on Dec 3, 2017
  6. MichaIng commented on Dec 17, 2017

    @MichaIng
    Owner

    @k-plan @Fourdee
    Started to go through the steps, as this goes often hand in hand with preparation script automation. Need some time with my wife now, will go on tomorrow.
    https://github.com/Fourdee/DietPi/pull/1312

  7. Fourdee commented on Dec 19, 2017

    @Fourdee
    Collaborator

    Started to go through the steps, as this goes often hand in hand with preparation script automation.

    @MichaIng

    Great work, legend 👍

    Need some time with my wife now

    Yep, same here, gotta keep the wife happy 😉 😉

  8. added a commit that references this issue on Jan 2, 2018
  9. Fourdee commented on Jan 2, 2018

    @Fourdee
    Collaborator

    @k-plan

    dphys-swapfile generation during inital installation process:

    👍 Moved: Fourdee@40c2a2f

  10. modified the milestones: v6.0, v6.1 on Jan 28, 2018
  11. added a commit that references this issue on Jan 28, 2018
  12. modified the milestones: v6.1, v6.2 on Jan 29, 2018
  13. removed this from the v6.2 milestone on Feb 18, 2018
  14. Fourdee commented on Feb 22, 2018

    @Fourdee
    Collaborator

    I'll mark this as closed as it appears to apply to <v6.x. Please reopen if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions