diff options
-rw-r--r-- | recipes-core/udev/udev-extraconf/mount.patch | 26 | ||||
-rw-r--r-- | recipes-support/ntp/files/ntp.conf.patch | 6 |
2 files changed, 16 insertions, 16 deletions
diff --git a/recipes-core/udev/udev-extraconf/mount.patch b/recipes-core/udev/udev-extraconf/mount.patch index 4ed3bfd..752e09e 100644 --- a/recipes-core/udev/udev-extraconf/mount.patch +++ b/recipes-core/udev/udev-extraconf/mount.patch @@ -1,6 +1,6 @@ diff -Naru orig/mount.blacklist new/mount.blacklist ---- orig/mount.blacklist 2019-10-24 17:08:59.796796272 -0500 -+++ new/mount.blacklist 2019-10-24 17:16:31.768782892 -0500 +--- orig/mount.blacklist 2022-08-11 19:17:58.897952564 +0300 ++++ new/mount.blacklist 2022-08-11 19:17:45.877922680 +0300 @@ -3,3 +3,16 @@ /dev/mtdblock /dev/md @@ -19,8 +19,8 @@ diff -Naru orig/mount.blacklist new/mount.blacklist +[PARTLABEL=config2] +[PARTLABEL=user_data] diff -Naru orig/mount.sh new/mount.sh ---- orig/mount.sh 2020-09-09 13:57:23.196157483 -0500 -+++ new/mount.sh 2020-09-09 14:59:40.344046845 -0500 +--- orig/mount.sh 2022-08-11 19:17:58.897952564 +0300 ++++ new/mount.sh 2022-08-11 19:17:45.913922763 +0300 @@ -4,8 +4,8 @@ # # Attempt to mount any added block devices and umount any removed devices @@ -73,7 +73,7 @@ diff -Naru orig/mount.sh new/mount.sh if [ ` expr match "$DEVNAME" "$line" ` -gt 0 ]; then logger "udev/mount.sh" "[$DEVNAME] is blacklisted, ignoring" -@@ -41,7 +68,7 @@ +@@ -47,7 +74,7 @@ # Skip the partition which are already in /etc/fstab grep "^[[:space:]]*$DEVNAME" /etc/fstab && return for n in LABEL PARTLABEL UUID PARTUUID; do @@ -82,7 +82,7 @@ diff -Naru orig/mount.sh new/mount.sh test -z "$tmp" && continue tmp="$n=$tmp" grep "^[[:space:]]*$tmp" /etc/fstab && return -@@ -49,13 +76,17 @@ +@@ -55,13 +82,17 @@ [ -d "/run/media/$name" ] || mkdir -p "/run/media/$name" @@ -99,9 +99,9 @@ diff -Naru orig/mount.sh new/mount.sh - MOUNT="$MOUNT -o umask=007,gid=`awk -F':' '/^disk/{print $3}' /etc/group`" + MOUNT="$MOUNT -o errors=continue -o umask=007,gid=`awk -F':' '/^disk/{print $3}' /etc/group`" ;; - # TODO - *) -@@ -78,7 +109,11 @@ + swap) + return ;; +@@ -86,7 +117,11 @@ if [ -x "$PMOUNT" ]; then $PMOUNT $DEVNAME 2> /dev/null elif [ -x $MOUNT ]; then @@ -113,7 +113,7 @@ diff -Naru orig/mount.sh new/mount.sh fi # If the device isn't mounted at this point, it isn't -@@ -86,6 +121,11 @@ +@@ -94,6 +129,11 @@ grep -q "^$DEVNAME " /proc/mounts && return ! test -d "/run/media/$name" && mkdir -p "/run/media/$name" @@ -125,12 +125,12 @@ diff -Naru orig/mount.sh new/mount.sh # Silent util-linux's version of mounting auto if [ "x`readlink $MOUNT`" = "x/bin/mount.util-linux" ] ; then -@@ -96,7 +136,7 @@ +@@ -104,7 +144,7 @@ # grant it with w/r/x permissions. case $ID_FS_TYPE in vfat|fat) - MOUNT="$MOUNT -o umask=007,gid=`awk -F':' '/^disk/{print $3}' /etc/group`" + MOUNT="$MOUNT -o errors=continue -o umask=007,gid=`awk -F':' '/^disk/{print $3}' /etc/group`" ;; - # TODO - *) + swap) + return ;; diff --git a/recipes-support/ntp/files/ntp.conf.patch b/recipes-support/ntp/files/ntp.conf.patch index 3d7a652..8a51c9b 100644 --- a/recipes-support/ntp/files/ntp.conf.patch +++ b/recipes-support/ntp/files/ntp.conf.patch @@ -1,6 +1,6 @@ diff -Naru old/ntp.conf new/ntp.conf ---- old/ntp.conf 2017-07-18 17:48:59.436221921 -0500 -+++ new/ntp.conf 2017-07-18 18:00:54.392325489 -0500 +--- old/ntp.conf 2022-08-11 18:27:20.491306453 +0300 ++++ new/ntp.conf 2022-08-11 18:27:29.659313301 +0300 @@ -1,17 +1,59 @@ -# This is the most basic ntp configuration file # The driftfile must remain in a place specific to this @@ -66,4 +66,4 @@ diff -Naru old/ntp.conf new/ntp.conf +# is the system clock, which is not a good choice. fudge 127.127.1.0 stratum 14 # Defining a default security setting - restrict default + restrict -4 default notrap nomodify nopeer noquery |