Package startup-rescue: 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 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | Name: startup-rescue Version: 0.49.1 Release: alt1 Summary: The system startup scripts for rescue disk License: GPL-2.0-or-later Group: System/Base Url: http://en.altlinux.org/rescue Source: rescue-%version.tar Requires(post): %post_service Requires(preun): %preun_service Requires: sfdisk console-vt-tools libshell system-report Requires: livecd-rescue-utility = %EVR # Optional requires %ifarch %ix86 x86_64 Requires: dmidecode ddcprobe %endif Requires: altquire Requires: agetty Conflicts: startup-school-rescue startup-nanolive %description This package contains scripts used to boot your system from rescue disk. %package -n livecd-rescue-utility Summary: Rescue utility for livecd Group: System/Base %description -n livecd-rescue-utility %summary. %prep %setup -n rescue-%version %install mkdir -p -- %buildroot{%_bindir,%_sbindir,%_initdir} install -pm755 rescue-shell %buildroot%_bindir/ install -pm755 rescue-shell-show %buildroot%_bindir/ %ifarch %ix86 x86_64 install -pm755 fixmbr %buildroot%_sbindir/ %endif install -pm755 find-fstab %buildroot%_sbindir/ install -pm755 mount-fstab mount-system unmount-system %buildroot%_sbindir/ install -pm644 inittab.rescue mdadm-ro.conf %buildroot/etc/ install -pm755 rc.sysinit.rescue %buildroot/etc/rc.d/ install -pm755 sysreport.init %buildroot%_initdir/sysreport install -pm755 rescue-remote.init %buildroot%_initdir/rescue-remote %post %post_service rescue-remote %preun %preun_service rescue-remote %files /etc/mdadm-ro.conf /etc/inittab.rescue /etc/rc.d/rc.sysinit.rescue %_initdir/sysreport %_initdir/rescue-remote %files -n livecd-rescue-utility %_sbindir/* %_bindir/* %changelog * Mon Mar 04 2024 Anton Midyukov <antohami@altlinux.org> 0.49.1-alt1 - rescue-shell: fix condition for run rescue-launcher * Thu Jan 25 2024 Anton Midyukov <antohami@altlinux.org> 0.49-alt1 - separate package livecd-rescue-utility - rescue-shell: hide 'rescue-launcher' behind a variable - replace /sbin/* to %%_sbindir/* - update License (GPL -> GPL-2.0-or-later) * Fri Jan 05 2024 Anton Midyukov <antohami@altlinux.org> 0.48-alt1 - separate script rescue-shell-show from rescue-shell - rescue-shell-show: show a link to Russian wiki if lang=ru_RU in cmdline * Tue Sep 26 2023 Anton Midyukov <antohami@altlinux.org> 0.47-alt1 - rc.sysinit.rescue: do not remount '/' (already rw) * Fri Jun 30 2023 Anton Midyukov <antohami@altlinux.org> 0.46-alt1 - rc.sysinit.rescue: sync with rc.sysinit from startup-0.9.9.16-alt1 - clean Packager * Thu Feb 09 2023 Anton Midyukov <antohami@altlinux.org> 0.45-alt1 - rc.sysinit.rescue: Add main repo, if available * Thu Feb 09 2023 Anton Midyukov <antohami@altlinux.org> 0.44-alt1 - rc.sysinit.rescue: redirect output of systemd-tmpfiles to /tmp/tmpfiles.log - rc.sysinit.rescue: redirect stderr of udevd to /tmp/udevd.log * Mon Aug 01 2022 Anton Midyukov <antohami@altlinux.org> 0.43-alt1 - Add btrfs support (Closes: 43376) * Tue Jun 28 2022 Anton Midyukov <antohami@altlinux.org> 0.42-alt1 - replace fgrep to grep -F * Sun Feb 20 2022 Anton Midyukov <antohami@altlinux.org> 0.41-alt1 - mount-fstab: fix quotes support for UUID and LABEL in fstab entries (CLoses: 41999) * Sat Jan 29 2022 Anton Midyukov <antohami@altlinux.org> 0.40-alt1 - rc.sysinit.rescue: add action "Setup serial console" * Thu Aug 19 2021 Anton Midyukov <antohami@altlinux.org> 0.39-alt1 - unmount-system: make unmounting more reliable * Tue Aug 17 2021 Anton Midyukov <antohami@altlinux.org> 0.38-alt1 - mount-system: do not mount tmpfs to /mnt - mount-fstab: ignore noauto option for /boot and /boot/efi mountpoints - unmount-system: initial script for unmounting mountpoints /mnt/system* * Wed Jul 07 2021 Anton Midyukov <antohami@altlinux.org> 0.37-alt1 - Use standalone versions of systemd utilities. * Tue Apr 13 2021 Anton Midyukov <antohami@altlinux.org> 0.36-alt1 - find-fstab: ignore ram device (Closes: 39835) * Fri Mar 12 2021 Anton Midyukov <antohami@altlinux.org> 0.35-alt1 - Add mount EFI variable filesystem * Wed Jan 27 2021 Alexey Gladkov <legion@altlinux.ru> 0.34-alt1 - Use systemd-modules-load directly * Wed Dec 16 2020 Anton Midyukov <antohami@altlinux.org> 0.33-alt1 - Create /dev/{core,fd,stdin,stdout,stderr} symlinks if needed * Sat Feb 15 2020 Anton Midyukov <antohami@altlinux.org> 0.32-alt4 - Fixed DHCP timeout (closes: 38089) * Mon Nov 18 2019 Alexey Gladkov <legion@altlinux.ru> 0.32-alt3 - Make idetune optional. * Tue Jul 09 2019 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.32-alt2 - Package find-fstab script regardless of architecture. * Sun Jan 06 2019 Anton Midyukov <antohami@altlinux.org> 0.32-alt1 - support tmpfiles.d * Tue Dec 04 2018 Leonid Krivoshein <klark@altlinux.org> 0.31-alt1 - optional feature added: autorun on the first terminal * Mon Oct 15 2018 Michael Shigorin <mike@altlinux.org> 0.30-alt1 - support overlayfs too * Mon Jul 16 2018 Anton Midyukov <antohami@altlinux.org> 0.29-alt2 - package not noarch * Mon May 21 2018 Michael Shigorin <mike@altlinux.org> 0.29-alt1 - restrict dmidecode, ddcprobe and fixmbr to x86 - hackaround for suddenly "missing" /sbin/find-fstab self-dependency * Tue Jan 24 2017 Michael Shigorin <mike@altlinux.org> 0.28-alt1 - stop plymouth * Thu Sep 08 2016 Michael Shigorin <mike@altlinux.org> 0.27-alt1 - decouple LVM/MDRAID handling * Tue Sep 06 2016 Michael Shigorin <mike@altlinux.org> 0.26-alt1 - disable MDRAID/LVM-related udev rules in forensics mode * Tue Nov 10 2015 Michael Shigorin <mike@altlinux.org> 0.25-alt1 - bump DHCP timeout to 35 so STP isn't a problem * Mon Jun 01 2015 Michael Shigorin <mike@altlinux.org> 0.24-alt1 - added rescue-remote initscript - eliminated mdadm.conf spam (shows up during multiple live_rw boots) * Mon May 12 2014 Michael Shigorin <mike@altlinux.org> 0.23-alt1 - moved *-forensic into a standalone package * Mon May 12 2014 Michael Shigorin <mike@altlinux.org> 0.22-alt1 - mount-forensic: minor fixes * Wed May 07 2014 Michael Shigorin <mike@altlinux.org> 0.21-alt1 - added lvm2-forensic, raid-forensic scripts to help deal with guaranteed read-only LVM2/MDRAID setups (blockdev --setro might be not enough in some cases); thanks Maxim Suhanov again - added Conflicts: * Sat Apr 19 2014 Michael Shigorin <mike@altlinux.org> 0.20-alt1 - mount-fstab: do not skip /boot/efi - added mount-forensic script by Maxim Suhanov * Wed Apr 16 2014 Michael Shigorin <mike@altlinux.org> 0.19-alt1 - rescue-shell: propose read-only mdraid assembly - added an Url: * Tue Apr 15 2014 Michael Shigorin <mike@altlinux.org> 0.18-alt1 - find-fstab: *fix* forensic mode support (invert condition) - improve user interaction too * Mon Apr 14 2014 Michael Shigorin <mike@altlinux.org> 0.17-alt1 - forensic mode support: + boot process will not auto-assemble mdraid or auto-activate discovered swap partitions + mount-system will mount filesystems as "ro,loop" + rescue-shell tips adjusted appropriately * Sun Apr 13 2014 Michael Shigorin <mike@altlinux.org> 0.16-alt1 - extended user advice * Tue Nov 26 2013 Michael Shigorin <mike@altlinux.org> 0.15-alt1 - avoid remounting sysfs - try activating lvm volumes before mounting filesystems (closes: #28631) * Wed Oct 17 2012 Michael Shigorin <mike@altlinux.org> 0.14-alt1 - avoid aufs-over-aufs * Fri Dec 24 2010 Anton Protopopov <aspsk@altlinux.org> 0.13-alt1 - add --grub option, use it by default * Thu Dec 23 2010 Anton Protopopov <aspsk@altlinux.org> 0.12-alt1 - lilo support; totally rewrite algorithm * Tue Nov 09 2010 Anton Farygin <rider@altlinux.ru> 0.11-alt1 - fixmbr: - do not use evms - display errors from mount-system only in verbose mode - reinstall grub only on block devices * Mon Nov 08 2010 Anton Farygin <rider@altlinux.ru> 0.10-alt1 - do not start evms and system-report on boot - do not use evms for mount-system - fixed system search bug in fixmbr * Wed Oct 27 2010 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.9-alt1 - fixmbr rewriten to work with grub (but lilo support dropped) * Wed Jun 03 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.8-alt1 - fix from cas@ to fixmbr * Thu Apr 09 2009 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.7-alt1 - using aufs instead unionfs * Mon Nov 17 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.6-alt1 - fixmbr fixed to work better with new alterator-lilo * Tue Sep 16 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.5-alt2 - inittab fixed (openvt is in /bin/ now) * Mon Aug 25 2008 Anton V. Boyarshinov <boyarsh@altlinux.ru> 0.5-alt1 - fixmbr totally rewritten * Thu May 22 2008 Andrey Cherepanov <cas@altlinux.ru> 0.4.2-alt2.5.S40.2 - fix prompt (text and highlighting) * Mon May 19 2008 Andrey Cherepanov <cas@altlinux.ru> 0.4.2-alt2.5.S40.1 - fix prompt * Mon May 19 2008 Andrey Cherepanov <cas@altlinux.ru> 0.4.2-alt2.5.S40.0 - new version of mbrresc - mbrresc is renamed to `fixmbr' * Thu May 15 2008 Hihin Ruslan <ruslandh@altlinux.ru> 0.4.2-alt2.4 - fix mbrresc * Fri May 02 2008 Hihin Ruslan <ruslandh@altlinux.ru> 0.4.2-alt2.3 - new version * Mon Apr 28 2008 Hihin Ruslan <ruslandh@altlinux.ru> 0.4.2-alt2.2 - add rescue-0.4.2-mbrresc.diff * Mon Mar 10 2008 Evgeny Sinelnikov <sin@altlinux.ru> 0.4.2-alt2.eter1 - Merged with stanv@ lilo restore feature * Tue Jan 29 2008 Alexey Gladkov <legion@altlinux.ru> 0.4.2-alt2 - Use system sysreport utility. - Fix for kbd-1.13*. - Minimize requires. * Wed Dec 12 2007 Andriy Stepanov <stanv@altlinux.ru> 0.4.2-alt1.2 - No LVM activation (EVMS fixed) fix lilo restore * Thu Dec 06 2007 Andriy Stepanov <stanv@altlinux.ru> 0.4.2-alt1.1 - Added: + LVM activation at boot time + mbrresc utility (say `mbrresc' at command before kernel loading) * Thu Aug 09 2007 Alexey Gladkov <legion@altlinux.ru> 0.4.2-alt1 - Added: + Report information about x86 hardware as described in the system BIOS according to the SMBIOS/DMI standard. + Report information from Display Data Channel (DDC). - Added requires dmidecode and ddcprobe. - mount-fstab: Fix for new libshell. * Thu May 03 2007 Dmitry V. Levin <ldv@altlinux.org> 0.4.1-alt1 - Added rescue-shell. * Wed May 02 2007 Dmitry V. Levin <ldv@altlinux.org> 0.4-alt1 - rc.sysinit.rescue: Mounted /mnt to overlay. - inittab.rescue: Added runlevel scripts execution. - inittab.rescue: Added shell execution to vc5 and vc6. - rc.sysinit.rescue: Removed developer-report execution. - Renamed developer-report to system-report. - Added sysreport service. * Sat Apr 28 2007 Dmitry V. Levin <ldv@altlinux.org> 0.3-alt1 - rc.sysinit.rescue: Added necessary $USEMODULES initialization. * Mon Apr 23 2007 Dmitry V. Levin <ldv@altlinux.org> 0.2-alt1 - inittab.rescue: Run bash with -l option. * Fri Mar 30 2007 Dmitry V. Levin <ldv@altlinux.org> 0.1-alt1 - Updated sysreport email address. * Wed Feb 28 2007 Alexey Gladkov <legion@altlinux.ru> 0.0.1-alt1 - First build for ALT Linux. |