Skip to content
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

Beta v7.8.0 #4934

Merged
merged 87 commits into from
Nov 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
0400752
Release v7.7 (#4840)
MichaIng Oct 16, 2021
5bc8423
v7.7 (#4852)
MichaIng Oct 16, 2021
d93eb4f
Init v7.8
MichaIng Oct 17, 2021
ced400f
v7.7
MichaIng Oct 17, 2021
347a7c0
v7.7
MichaIng Oct 17, 2021
2394777
v7.8
MichaIng Oct 17, 2021
1d8c8a3
v7.8
MichaIng Oct 18, 2021
66da0cc
v7.8
MichaIng Oct 18, 2021
07069bd
v7.7
MichaIng Oct 18, 2021
c0630f1
v7.8
MichaIng Oct 18, 2021
30eab8e
v7.8
MichaIng Oct 18, 2021
9bcd9b0
v7.8
MichaIng Oct 18, 2021
de64f6d
v7.8
MichaIng Oct 18, 2021
75eda79
v7.8
MichaIng Oct 18, 2021
444a368
v7.8
MichaIng Oct 18, 2021
4b7b66f
v7.7
MichaIng Oct 18, 2021
2f09822
v7.8
MichaIng Oct 18, 2021
2ae0e05
v7.8
MichaIng Oct 18, 2021
85d5723
v7.8
MichaIng Oct 18, 2021
367b289
v7.8
MichaIng Oct 18, 2021
10d652c
v7.8
MichaIng Oct 18, 2021
76ead2e
v7.8
MichaIng Oct 18, 2021
7431afa
v7.8
MichaIng Oct 19, 2021
b6f4839
v7.8
MichaIng Oct 20, 2021
ef074f7
v7.8
MichaIng Oct 20, 2021
730f652
v7.8
MichaIng Oct 20, 2021
0d1c909
v7.8
MichaIng Oct 20, 2021
f488501
v7.7
MichaIng Oct 20, 2021
226db29
v7.8
MichaIng Oct 20, 2021
78fbbd0
v7.8
MichaIng Oct 20, 2021
b6f9f25
v7.8
MichaIng Oct 21, 2021
92a41a9
Live patch 0 v7.7 (#4874)
MichaIng Oct 21, 2021
20a996a
v7.8
MichaIng Oct 22, 2021
f951ed2
v7.8 (#4879)
Joulinar Oct 22, 2021
45ee69f
v7.8
MichaIng Oct 22, 2021
81c281c
v7.8
MichaIng Oct 22, 2021
127899e
v7.8
MichaIng Oct 22, 2021
330d2d5
v7.8
MichaIng Oct 22, 2021
e20df06
v7.8
MichaIng Oct 22, 2021
dd714f5
v7.8
MichaIng Oct 22, 2021
3df2d00
v7.8
MichaIng Oct 22, 2021
4730833
v7.8
MichaIng Oct 22, 2021
30f647e
v7.8
MichaIng Oct 23, 2021
a51193e
v7.8
MichaIng Oct 23, 2021
df8e914
v7.8
MichaIng Oct 24, 2021
63e4319
v7.8 (#4895)
MichaIng Oct 24, 2021
3c947e3
v7.8
MichaIng Oct 25, 2021
14f32b7
v7.8
MichaIng Oct 25, 2021
c520170
v7.8
MichaIng Oct 25, 2021
6963274
v7.8
MichaIng Oct 25, 2021
825845e
v7.8 (#4900)
MichaIng Oct 26, 2021
276b37f
v7.8
MichaIng Oct 26, 2021
fcfc307
v7.8
MichaIng Oct 26, 2021
17adf32
v7.8
MichaIng Oct 27, 2021
a15f070
v7.8
MichaIng Oct 28, 2021
52224f0
v7.8
MichaIng Oct 30, 2021
9545e52
v7.8
MichaIng Oct 30, 2021
9841e04
v7.8
MichaIng Oct 31, 2021
a9cf719
v7.8
MichaIng Oct 31, 2021
3f418a6
v7.8
MichaIng Oct 31, 2021
003838b
v7.8 (#4903)
MichaIng Oct 31, 2021
78937a2
v7.8 (#4907)
MichaIng Oct 31, 2021
ccd4d32
v7.8
MichaIng Nov 1, 2021
3144188
v7.8
MichaIng Nov 1, 2021
fd40aad
v7.8
MichaIng Nov 1, 2021
4abd962
v7.8
MichaIng Nov 1, 2021
e941a90
v7.8
MichaIng Nov 1, 2021
a7ca170
v7.8 (#4917)
MichaIng Nov 1, 2021
f985918
v7.8
MichaIng Nov 1, 2021
71eb430
v7.8
MichaIng Nov 1, 2021
05a1658
v7.8 (#4920)
MichaIng Nov 2, 2021
b93c388
v7.8
MichaIng Nov 2, 2021
480254f
v7.8
MichaIng Nov 3, 2021
c47a774
v7.8
MichaIng Nov 3, 2021
94811c7
v7.8 (#4912)
Joulinar Nov 3, 2021
792a406
v7.8 (#4922)
MichaIng Nov 3, 2021
31c715f
v7.8
MichaIng Nov 4, 2021
baee451
v7.8 (#4927)
MichaIng Nov 4, 2021
2b92cb2
v7.8
MichaIng Nov 4, 2021
3a66d74
v7.8
MichaIng Nov 4, 2021
dd95a4c
Merge branch 'dev' of https://github.com/MichaIng/DietPi into dev
MichaIng Nov 4, 2021
38f4aa9
v7.8
MichaIng Nov 5, 2021
e906e71
v7.8
MichaIng Nov 5, 2021
3f6f8e0
v7.8
MichaIng Nov 6, 2021
eda313f
v7.8
MichaIng Nov 6, 2021
2cf4b3e
v7.8 (#4918)
ravenclaw900 Nov 6, 2021
e5a6a2a
v7.8
MichaIng Nov 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
235 changes: 115 additions & 120 deletions .conf/desktop/lxde/panel
Original file line number Diff line number Diff line change
@@ -1,157 +1,152 @@
# lxpanel <profile> config file. Manually editing is not recommended.
# Use preference dialog in lxpanel to adjust config when you can.

Global {
edge=bottom
allign=left
margin=0
widthtype=percent
width=100
height=36
transparent=1
tintcolor=#313131
alpha=255
autohide=0
heightwhenhidden=2
setdocktype=1
setpartialstrut=1
usefontcolor=1
fontsize=10
fontcolor=#ffffff
usefontsize=0
background=0
iconsize=34
}
Plugin {
type=space
Config {
Size=5
}
edge=bottom
align=left
margin=0
widthtype=percent
width=100
height=36
transparent=1
tintcolor=#313131
alpha=255
setdocktype=1
setpartialstrut=1
autohide=0
heightwhenhidden=0
usefontcolor=1
fontcolor=#ffffff
background=0
iconsize=34
}

Plugin {
type=menu
Config {
image=/usr/share/lxde/images/lxde-icon.png
system {
}
separator {
type = space
Config {
Size=5
}
item {
command=run
}
separator {
}
item {
image=gnome-logout
command=logout
}
}
}
Plugin {
type=space
Config {
Size=20
}
}

Plugin {
type=launchbar
Config {
Button {
id=/usr/share/applications/firefox-esr.desktop
type = menu
Config {
image=/usr/share/lxde/images/lxde-icon.png
system {
}
separator {
}
item {
command=run
}
separator {
}
item {
image=gnome-logout
command=logout
}
}
}
}

Plugin {
type=space
Config {
Size=5
}
type = space
Config {
Size=10
}
}

Plugin {
type=launchbar
Config {
Button {
id=pcmanfm.desktop
type = launchbar
Config {
Button {
id=firefox-esr.desktop
}
Button {
id=pcmanfm.desktop
}
Button {
id=lxterminal.desktop
}
}
}
}

Plugin {
type=space
Config {
Size=5
}
type = space
Config {
Size=10
}
}

Plugin {
type=launchbar
Config {
Button {
id=lxterminal.desktop
type = taskbar
expand=1
Config {
tooltips=1
IconsOnly=0
AcceptSkipPager=1
ShowIconified=1
ShowMapped=1
ShowAllDesks=0
UseMouseWheel=1
UseUrgencyHint=1
FlatButton=0
MaxTaskWidth=150
spacing=1
}
}
}

Plugin {
type=space
Config {
Size=20
}
type = space
Config {
Size=10
}
}

Plugin {
type=taskbar
expand=1
Config {
tooltips=1
IconsOnly=0
AcceptSkipPager=1
ShowIconified=1
ShowMapped=1
ShowAllDesks=0
UseMouseWheel=1
UseUrgencyHint=1
FlatButton=0
MaxTaskWidth=150
spacing=2
UseSmallerIcons=-1
}
type = tray
}

Plugin {
type=space
Config {
Size=20
}
type = space
Config {
Size=5
}
}

Plugin {
type=cpu
Config {
ShowPercent=1
}
type = cpu
}

Plugin {
type=tray
Config {
}
type = space
Config {
Size=5
}
}

Plugin {
type=volumealsa
Config {
}
type = volumealsa
}

Plugin {
type=space
Config {
Size=5
}
type = space
Config {
Size=5
}
}

Plugin {
type=dclock
Config {
ClockFmt=%R
TooltipFmt=%A %x
BoldFont=0
IconOnly=0
CenterText=0
}
type = dclock
Config {
ClockFmt=%R
TooltipFmt=%A %x
BoldFont=0
}
}

Plugin {
type=space
Config {
Size=5
}
type = space
Config {
Size=5
}
}
1 change: 0 additions & 1 deletion .conf/dps_114/nginx.nextcloud.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ location ^~ /nextcloud {
#pagespeed off;

# HTTP response headers borrowed from Nextcloud `.htaccess`
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains" always;
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options "noopen" always;
Expand Down
1 change: 0 additions & 1 deletion .conf/dps_47/nginx.owncloud.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
location ^~ /owncloud {

# Add headers to serve security related headers
#add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-XSS-Protection "1; mode=block" always;
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# https://help.github.com/en/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository
patreon: DietPi
custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6DVBECXRW3TAA
custom: https://www.paypal.com/donate?hosted_button_id=6DVBECXRW3TAA
32 changes: 23 additions & 9 deletions .meta/dietpi-imager
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
readonly DIETPI_REPO="https://raw.githubusercontent.com/$G_GITOWNER/DietPi/$G_GITBRANCH"

# Inputs
SOURCE_TYPE='Drive'
if [[ -b $1 ]]
then
SOURCE_TYPE='Drive'
FP_SOURCE=$1

elif [[ -f $1 ]]
Expand Down Expand Up @@ -131,7 +131,8 @@
G_EXEC_NOEXIT=1 G_EXEC losetup "$FP_SOURCE" "$FP_SOURCE_IMG" || return
G_EXEC_NOEXIT=1 G_EXEC partprobe "$FP_SOURCE" || return
G_EXEC_NOEXIT=1 G_EXEC partx -u "$FP_SOURCE" || return
G_DIETPI-NOTIFY 0 "Mounted the image ($FP_SOURCE_IMG) as loopback device: $FP_SOURCE"
G_DIETPI-NOTIFY 0 "Attached the image ($FP_SOURCE_IMG) as loopback device: $FP_SOURCE"
sleep 0.5 # Give the root filesystem a little time to be detected
fi

Menu_Source_RootFS # Directly open this menu next
Expand Down Expand Up @@ -317,8 +318,8 @@
# Remount image for any required edits
G_EXEC mkdir $FP_MNT_TMP
G_EXEC mount "$FP_ROOT_DEV" $FP_MNT_TMP
# - Remove bash history, which is stored on shutdown, hence cannot be removed via DietPi-PREP
rm -fv $FP_MNT_TMP/{root,home/*}/.bash_history
# - Remove bash history and DHCP leases, which are stored on shutdown, hence cannot be removed via DietPi-PREP
G_EXEC rm -f $FP_MNT_TMP/{root,home/*}/.bash_history $FP_MNT_TMP/var/lib/dhcp/*.leases
if [[ $MOUNT_IT == 'On' ]] && G_WHIP_MSG "The ${SOURCE_TYPE,,} has been mounted to allow you reviewing or editing its content:
- $FP_ROOT_DEV > $FP_MNT_TMP
\nAn interactive bash subshell will open.
Expand All @@ -342,6 +343,10 @@
# Shrink filesystem to minimum
if [[ $ROOT_FS_TYPE == 'ext4' ]]
then
# Disable and enable journal to clear it and allow further size reduction
G_EXEC tune2fs -O '^has_journal' "$FP_ROOT_DEV"
G_EXEC tune2fs -O 'has_journal' "$FP_ROOT_DEV"

# Run multiple times until no change is done any more
G_DIETPI-NOTIFY 2 'Shrinking root filesystem to minimum size...'
local out
Expand Down Expand Up @@ -414,13 +419,19 @@
[[ $type ]] || continue
if [[ $type == 'ext'[234] ]]
then
G_EXEC_OUTPUT=1 G_EXEC zerofree -v "$path"
# Disable and enable journal on ext3 and ext3 to clear it, when not root filesystem (where it was done already)
if [[ $type != 'ext2' && $path != "$FP_ROOT_DEV" ]]
then
G_EXEC tune2fs -O '^has_journal' "$path" < /dev/tty
G_EXEC tune2fs -O 'has_journal' "$path" < /dev/tty
fi
G_EXEC_OUTPUT=1 G_EXEC zerofree -v "$path" < /dev/tty
else
G_EXEC mount "$path" $FP_MNT_TMP
G_EXEC_OUTPUT=1 G_EXEC fstrim -v $FP_MNT_TMP
Unmount_tmp
G_EXEC mount "$path" $FP_MNT_TMP < /dev/tty
G_EXEC_OUTPUT=1 G_EXEC fstrim -v $FP_MNT_TMP < /dev/tty
Unmount_tmp < /dev/tty
# shellcheck disable=SC2015
[[ $path == "$FP_ROOT_DEV" ]] && Run_fsck || G_EXEC_OUTPUT=1 G_EXEC fsck "$path"
[[ $path == "$FP_ROOT_DEV" ]] && Run_fsck < /dev/tty || G_EXEC_OUTPUT=1 G_EXEC fsck "$path" < /dev/tty
fi

done < <(lsblk -rnpo NAME,FSTYPE "$FP_SOURCE"?*)
Expand Down Expand Up @@ -623,6 +634,9 @@ _EOF_
Final image file: $PWD/$OUTPUT_IMG_NAME.$OUTPUT_IMG_EXT
Final 7z archive: $PWD/$OUTPUT_IMG_NAME.7z"

# Upload archive automatically if there is an upload.sh in the same directory
[[ -x 'upload.sh' ]] && ./upload.sh "$OUTPUT_IMG_NAME.7z"

}

#/////////////////////////////////////////////////////////////////////////////////////
Expand Down
Loading