Package installer-scripts-remount-stage2: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | Name: installer-scripts-remount-stage2 Version: 0.6.4 Release: alt1 Summary: Shared installer scripts: remount License: GPLv2+ Group: System/Configuration/Other Url: http://www.altlinux.org/Installer Source: %name-%version.tar BuildArch: noarch Requires: sfdisk Conflicts: installer-common-stage2 < 1.8.11-alt1 %description This package contains shared installer scripts, namely a script to remount filesystems after employing EVMS to partition and mkfs them so that preinstall/postinstall scripts would work in block device and devmapper environment that's close to the target system's one. %prep %setup %install # a single script is not worth two makefiles yet install -pDm755 scripts/install2-remount-functions \ %buildroot%_sbindir/install2-remount-functions install -pDm755 initinstall/stop-md-dm.sh \ %buildroot%_datadir/install2/initinstall.d/80-stop-md-dm.sh cat << __EOF__ > %buildroot%_datadir/install2/initinstall.d/85-start-multipath.sh #!/bin/sh . install2-remount-functions start_multipath : __EOF__ %files %_sbindir/* %_datadir/install2/initinstall.d/80-stop-md-dm.sh %attr(0755,root,root) %_datadir/install2/initinstall.d/85-start-multipath.sh %changelog * Wed Nov 22 2023 Alexey Sheplyakov <asheplyakov@altlinux.org> 0.6.4-alt1 - Create correct block device nodes for paritions instead of broken ones produces as a side effect of EVMS trickery. Fixes installation when the target drive had no enough free space (and the user decided to remove existing partitions after an `not enough space` error). * Fri Sep 08 2023 Anton Midyukov <antohami@altlinux.org> 0.6.3-alt1 - show a summary of devices and their partitions when partprobe - revert "start_mdraid with udev rules, if it is possible" - add delay 5 second after partprobe * Mon Aug 28 2023 Anton Midyukov <antohami@altlinux.org> 0.6.2-alt1 - partprobe after stop_mdraid && reset_devmapper - verbose stop and start mdraid - start_mdraid with udev rules, if it is possible * Tue Aug 22 2023 Anton Midyukov <antohami@altlinux.org> 0.6.1-alt1 - install2-remount-functions: re-read partition table after reset /dev/mapper * Thu Apr 06 2023 Anton Midyukov <antohami@altlinux.org> 0.6.0-alt1 - initial mount_destfs function - Add remount_destination function - execute systemd_tmpfiles outside of mount_chroot in separate function - fix set_active for use in mount_destination - mount /dev/pts also into mount_chroot - mount /dev/pts also into mount_chroot - mount /run, /tmp with '-o mode 755' * Thu Mar 16 2023 Slava Aseev <ptrnine@altlinux.org> 0.5.30-alt1 - do not skip containers while generating /tmp/mdadm.conf * Mon Jan 23 2023 Anton Midyukov <antohami@altlinux.org> 0.5.29-alt1 - update syntax of cryptsetup - recursive unmount destination directory * Thu Aug 04 2022 Anton Midyukov <antohami@altlinux.org> 0.5.28-alt1 - Disable swap outside of the chroot when umount_chroot * Tue Aug 02 2022 Anton Midyukov <antohami@altlinux.org> 0.5.27-alt1 - Fix condition for "remount: unable to re-identify rootfs device" - Do not remount if $destdir is not defined * Wed Jul 20 2022 Anton Midyukov <antohami@altlinux.org> 0.5.26-alt1 - stop luks after umount chroot - do not dmsetup remove when stop LUKS, it is not required - run start_luks only once after start_mdraid and start_lvm * Thu Jun 23 2022 Anton Midyukov <antohami@altlinux.org> 0.5.25-alt1 - install2-remount-functions: run set_active, if "$destination"/boot/efi not found * Sun Oct 10 2021 Anton Midyukov <antohami@altlinux.org> 0.5.24-alt1 - install2-remount-functions: run set_active for msdos partition table type only * Thu Jul 08 2021 Anton Midyukov <antohami@altlinux.org> 0.5.23-alt1 - install2-remount-functions: check for systemd-tmpfiles utilities in destdir - install2-remount-functions: replace check systemd-tmpfiles to mount_chroot * Wed Jul 07 2021 Anton Midyukov <antohami@altlinux.org> 0.5.22-alt1 - use systemd-tmpfiles.standalone as fallback * Fri Jun 04 2021 Anton Midyukov <antohami@altlinux.org> 0.5.21-alt1 - install2-remount-functions: Add mount/umount runfs to destination/run (Closes: 40142) * Fri Mar 12 2021 Anton Midyukov <antohami@altlinux.org> 0.5.20-alt1 - install2-remount-functions: Add mount/umount EFI variable filesystem * Mon Jul 27 2020 Anton Midyukov <antohami@altlinux.org> 0.5.19-alt1 - mount_chroot: Fix getting options from /tmp/fstab for / * Fri Jul 17 2020 Oleg Solovyov <mcpain@altlinux.org> 0.5.18-alt1 - mount_chroot: remount with same mount options as mounted before * Wed Apr 15 2020 Oleg Solovyov <mcpain@altlinux.org> 0.5.17-alt1 - start_luks: Remount only empty password containers * Mon Feb 03 2020 Oleg Solovyov <mcpain@altlinux.org> 0.5.16-alt1 - start_lvm: Activate all LVs when setting up LVM * Fri Jul 19 2019 Michael Shigorin <mike@altlinux.org> 0.5.15-alt1 - silence harmless sfdisk's "re-reading the partition table failed" * Fri Apr 07 2017 Michael Shigorin <mike@altlinux.org> 0.5.14-alt1 - ignore blkid cache as the script's goal is changing block device situation * Tue Mar 21 2017 Michael Shigorin <mike@altlinux.org> 0.5.13-alt1 - ignore lvm exit code to hopefully avoid a few more unneeded "destination filesystem remount error" cases (closes: #33246) - double-check before umounting /mnt/destination just in case * Tue Jan 31 2017 Michael Shigorin <mike@altlinux.org> 0.5.12-alt1 - added /dev/md/* support to the existing /dev/md* one; thanks Vadim Zelenin for pointing this out (closes: #31286) * Wed Dec 28 2016 Michael Shigorin <mike@altlinux.org> 0.5.11-alt1 - don't do "destination filesystem remount error" when it's just mdadm putting new arrays into PENDING state * Mon Dec 05 2016 Michael Shigorin <mike@altlinux.org> 0.5.10-alt1 - fixed multipath support when multipathd is there but there are no multipath-capable devices available * Thu Nov 24 2016 Michael Shigorin <mike@altlinux.org> 0.5.9-alt1 - *added* multipath support (shrek@) + stopping dm drops multipath setup, care for that too * Wed Nov 16 2016 Michael Shigorin <mike@altlinux.org> 0.5.8-alt1 - added multipath support (shrek@) * Thu Jun 09 2016 Michael Shigorin <mike@altlinux.org> 0.5.7-alt1 - ensure active partition(s) existence to workaround some intel/dell BIOS "smartness" resulting in boot refusal * Mon Apr 04 2016 Michael Shigorin <mike@altlinux.org> 0.5.6-alt1 - defuse gvfs * Tue Nov 03 2015 Michael Shigorin <mike@altlinux.org> 0.5.5-alt1 - /dev/md/imsm workaround (closes: #31286) * Wed Oct 14 2015 Aleksey Avdeev <solo@altlinux.org> 0.5.4-alt1 - Fix unmount the root after copying * Tue Oct 13 2015 Aleksey Avdeev <solo@altlinux.org> 0.5.3-alt1 - Use cp in the absence of installable system /usr/share/make-initrd/tools/put-file * Tue Oct 13 2015 Aleksey Avdeev <solo@altlinux.org> 0.5.2-alt2 - Add copying the libraries necessary for binaries copied (ALT#31351). To copy using a script /usr/share/make-initrd/tools/put-file belonging to an installable distribution. * Wed Jun 11 2014 Michael Shigorin <mike@altlinux.org> 0.5.1-alt1 - /run/udev support * Thu Nov 14 2013 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.5-alt1 - Stop MD/DM devices in initinstall (ALT#29554). * Wed May 22 2013 Michael Shigorin <mike@altlinux.org> 0.4-alt1 - prepare data for installer-feature-desktop-other-fs >= 0.7-alt1 (see also #29005) * Wed Jan 30 2013 Michael Shigorin <mike@altlinux.org> 0.3-alt1 - reverted the change made in 0.2 since fstab manipulation is to be fixed in livecd-install * Tue Jan 29 2013 Michael Shigorin <mike@altlinux.org> 0.2-alt1 - tweaked populate_fstab() to support livecd-install case properly (fixes duplicated filesystem lines in target /etc/fstab) * Fri Dec 21 2012 Michael Shigorin <mike@altlinux.org> 0.1-alt1 - split off installer-1.8.10-alt1 to use with livecd-install too |