os-prober rebuild
This commit is contained in:
@@ -14,6 +14,9 @@ def build():
|
||||
linux-boot-probes/common/50mounted-tests")
|
||||
shelltools.system("sed -i -e 's|grub-mount|grub2-mount|g' os-probes/common/50mounted-tests \
|
||||
linux-boot-probes/common/50mounted-tests common.sh")
|
||||
|
||||
shelltools.system("sed -i -e 's|/boot/grub/|/boot/grub2/|g' linux-boot-probes/mounted/common/40grub2 \
|
||||
linux-boot-probes/mounted/x86/40grub")
|
||||
shelltools.unlink("Makefile")
|
||||
autotools.make("newns")
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff -Nuar a/os-probes/mounted/common/90linux-distro b/os-probes/mounted/common/90linux-distro
|
||||
--- a/os-probes/mounted/common/90linux-distro 2018-08-10 22:23:18.000000000 +0300
|
||||
+++ b/os-probes/mounted/common/90linux-distro 2021-07-18 02:11:39.137236954 +0300
|
||||
@@ -29,6 +29,9 @@
|
||||
elif [ -e "$dir/etc/altlinux-release" ]; then
|
||||
short="ALTLinux"
|
||||
long="$(cat "$dir/etc/altlinux-release")"
|
||||
+ elif [ -e "$dir/etc/pisilinux-release" ]; then
|
||||
+ short="Pisilinux"
|
||||
+ long="$(cat "$dir/etc/pisilinux-release")"
|
||||
elif [ -e "$dir/etc/magic-release" ]; then
|
||||
short="Magic"
|
||||
long="$(cat "$dir/etc/magic-release")"
|
||||
@@ -25,6 +25,8 @@
|
||||
<Patch level="1">fedora/os-prober-mounted-partitions-fix.patch</Patch>
|
||||
<Patch level="1">fedora/os-prober-no-dummy-mach-kernel.patch</Patch>
|
||||
<Patch level="1">fedora/os-prober-umount-fix.patch</Patch>
|
||||
|
||||
<Patch level="1">pisilinux-distro.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
<Package>
|
||||
|
||||
Reference in New Issue
Block a user