summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-06-07 23:31:27 +0000
committer Eric Hameleers <alien@slackware.com>2020-06-08 08:59:54 +0200
commitfd24414e6293d8d3c818a34ea63030b94df22f75 (patch)
tree0b5b559a61aaae2ca04a3a0dcf8f9a39615bb768 /source
parentee48d8c07252f2fe9fd26558b8116b2595556891 (diff)
downloadcurrent-fd24414e6293d8d3c818a34ea63030b94df22f75.tar.gz
current-fd24414e6293d8d3c818a34ea63030b94df22f75.tar.xz
Sun Jun 7 23:31:27 UTC 202020200607233127
a/kernel-generic-5.4.45-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.45-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.45-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.45-x86-1.txz: Upgraded. k/kernel-source-5.4.45-noarch-1.txz: Upgraded. l/imagemagick-7.0.10_17-x86_64-1.txz: Upgraded. l/python-certifi-2020.4.5.2-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source')
-rw-r--r--source/installer/ChangeLog.txt3
-rwxr-xr-xsource/installer/build_installer.sh3
-rwxr-xr-xsource/installer/sources/initrd/usr/lib/setup/SeTDOS31
-rw-r--r--source/k/kernel-configs/config-generic-5.4.45 (renamed from source/k/kernel-configs/config-generic-5.4.44)2
-rw-r--r--source/k/kernel-configs/config-generic-5.4.45.x64 (renamed from source/k/kernel-configs/config-generic-5.4.44.x64)2
-rw-r--r--source/k/kernel-configs/config-generic-smp-5.4.45-smp (renamed from source/k/kernel-configs/config-generic-smp-5.4.44-smp)2
-rw-r--r--source/k/kernel-configs/config-huge-5.4.45 (renamed from source/k/kernel-configs/config-huge-5.4.44)2
-rw-r--r--source/k/kernel-configs/config-huge-5.4.45.x64 (renamed from source/k/kernel-configs/config-huge-5.4.44.x64)2
-rw-r--r--source/k/kernel-configs/config-huge-smp-5.4.45-smp (renamed from source/k/kernel-configs/config-huge-smp-5.4.44-smp)2
9 files changed, 27 insertions, 22 deletions
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt
index 2d749cfd8..b0f413e80 100644
--- a/source/installer/ChangeLog.txt
+++ b/source/installer/ChangeLog.txt
@@ -1,3 +1,6 @@
+Sun Jun 7 23:24:18 UTC 2020
+ Fix NTFS partition detection, and add support for exFAT.
++--------------------------+
Sun May 17 19:57:48 UTC 2020
Added PAM libraries, security modules, and config files.
+--------------------------+
diff --git a/source/installer/build_installer.sh b/source/installer/build_installer.sh
index c26bdfbbd..f087f1f68 100755
--- a/source/installer/build_installer.sh
+++ b/source/installer/build_installer.sh
@@ -1570,9 +1570,10 @@ for ind in $(seq 0 $((${#KERNELS[*]} -1)) ); do
mv block.orig/virtio_blk.ko block
rm -rf${VERBOSE1} block.orig
# Done with block directory
- # Save the Hyper-V modules in staging, but toss the rest:
+ # Grab a few modules from staging:
mv staging staging.orig
mv staging.orig/hv staging
+ mv staging.orig/exfat staging
rm -rf${VERBOSE1} staging.orig
# Save the Hyper-V keyboard module:
mkdir -p input.orig/serio
diff --git a/source/installer/sources/initrd/usr/lib/setup/SeTDOS b/source/installer/sources/initrd/usr/lib/setup/SeTDOS
index abcb40957..0a7098200 100755
--- a/source/installer/sources/initrd/usr/lib/setup/SeTDOS
+++ b/source/installer/sources/initrd/usr/lib/setup/SeTDOS
@@ -33,11 +33,11 @@ like your non-root users to have to partition $DOS_PART. The access level can \
range from no access at all, to read-only for everyone, to read-write access \
for every user on the machine. A reasonable default (read-write for root only) \
is chosen, but you may set this any way that you like." \
-16 77 4 \
-"fmask=177,dmask=077" "Root has read/write access, users have no access (ntfs-3g)" \
-"fmask=333,dmask=222" "Everyone has read only access (built-in kernel ntfs driver)" \
-"fmask=133,dmask=022" "Everyone has read access, but only root can write (ntfs-3g)" \
-"fmask=111,dmask=000" "All users can read/write to any file (ntfs-3g)" \
+17 77 4 \
+"fmask=177,dmask=077" "Root has read/write access, users have no access" \
+"fmask=333,dmask=222" "Everyone has read only access" \
+"fmask=133,dmask=022" "Everyone has read access, but only root can write" \
+"fmask=111,dmask=000" "All users can read/write to any file" \
2> $TMP/ntfs_security
if [ ! $? = 0 ]; then
rm -f $TMP/ntfs_security $TMP/mount-point $TMP/SeTDOS
@@ -56,7 +56,7 @@ like your non-root users to have to partition $DOS_PART. The access level can \
range from no access at all, to read-only for everyone, to read-write access \
for every user on the machine. A reasonable default (read-write for root only) \
is chosen, but you may set this any way that you like." \
-18 77 4 \
+17 77 4 \
"fmask=177,dmask=077" "Root has read/write access, users have no access" \
"fmask=333,dmask=222" "Everyone has read only access" \
"fmask=133,dmask=022" "Everyone has read access, but only root can write" \
@@ -145,29 +145,30 @@ EOF
elif [ "$DOS_PART" = "(IN USE)" ]; then
continue
fi
- if echo "$DOSLIST" | grep -w $DOS_PART | grep NTFS 1> $NDIR 2> $NDIR ; then
+ TYPE="$(blkid $DOS_PART | tr ' ' '\n' | grep "^TYPE=" | cut -f 2- -d = | tr -d \")"
+ if [ "$TYPE" = "ntfs" ]; then
ntfs_security
FS_UMASK="$(cat $TMP/ntfs_security)"
if [ "$FS_UMASK" = "1" ]; then
exit 1
else
- if [ "$FS_UMASK" = "fmask=333,dmask=222" ]; then
- FS_TYPE=ntfs
- else
- FS_TYPE=ntfs-3g
- fi
+ FS_TYPE="$TYPE"
fi
- else
- FS_TYPE=vfat
+ else # Must be fat or exfat:
fat_security
FS_UMASK="$(cat $TMP/fat_security)"
+ if [ "$FS_UMASK" = "1" ]; then
+ exit 1
+ else
+ FS_TYPE="$TYPE"
+ fi
fi
dialog --backtitle "Selecting a location to mount $DOS_PART." \
--title "PICK MOUNT POINT FOR $DOS_PART" \
--inputbox "Now this partition must be mounted somewhere in your \
directory tree. Please enter the directory under which \
you would like to put it. For instance, you might want to \
- enter /fat-c or /fat-d or something similar. \
+ enter /ntfs-c or /ntfs-d or something similar. \
NOTE: This \
partition won't actually be mounted until you reboot. \
Where would you like to mount $DOS_PART?" \
diff --git a/source/k/kernel-configs/config-generic-5.4.44 b/source/k/kernel-configs/config-generic-5.4.45
index 2d3bc2df8..6f3cfb1f6 100644
--- a/source/k/kernel-configs/config-generic-5.4.44
+++ b/source/k/kernel-configs/config-generic-5.4.45
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.44 Kernel Configuration
+# Linux/x86 5.4.45 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-5.4.44.x64 b/source/k/kernel-configs/config-generic-5.4.45.x64
index f583c236a..f74a38706 100644
--- a/source/k/kernel-configs/config-generic-5.4.44.x64
+++ b/source/k/kernel-configs/config-generic-5.4.45.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.44 Kernel Configuration
+# Linux/x86 5.4.45 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-smp-5.4.44-smp b/source/k/kernel-configs/config-generic-smp-5.4.45-smp
index 16970be4b..a9b3a68e1 100644
--- a/source/k/kernel-configs/config-generic-smp-5.4.44-smp
+++ b/source/k/kernel-configs/config-generic-smp-5.4.45-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.44 Kernel Configuration
+# Linux/x86 5.4.45 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-5.4.44 b/source/k/kernel-configs/config-huge-5.4.45
index f3a0ba209..f9225d758 100644
--- a/source/k/kernel-configs/config-huge-5.4.44
+++ b/source/k/kernel-configs/config-huge-5.4.45
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.44 Kernel Configuration
+# Linux/x86 5.4.45 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-5.4.44.x64 b/source/k/kernel-configs/config-huge-5.4.45.x64
index 571e2ccc8..c08ce6aae 100644
--- a/source/k/kernel-configs/config-huge-5.4.44.x64
+++ b/source/k/kernel-configs/config-huge-5.4.45.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.44 Kernel Configuration
+# Linux/x86 5.4.45 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-smp-5.4.44-smp b/source/k/kernel-configs/config-huge-smp-5.4.45-smp
index f73c2e124..1dc5c1ece 100644
--- a/source/k/kernel-configs/config-huge-smp-5.4.44-smp
+++ b/source/k/kernel-configs/config-huge-smp-5.4.45-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.4.44 Kernel Configuration
+# Linux/x86 5.4.45 Kernel Configuration
#
#