Changeset 2f6d8ec
- Timestamp:
- 09/07/2019 01:43:10 PM (5 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 9.1, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 810c25c
- Parents:
- 57394c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/filesystems/initramfs.xml
r57394c4 r2f6d8ec 223 223 cp -a /lib/systemd $WDIR/lib 224 224 fi 225 if [ -d /lib/elogind ]; then 226 cp -a /lib/elogind $WDIR/lib 227 fi 225 228 226 229 # Install the kernel modules if requested … … 306 309 } 307 310 311 do_try_resume() 312 { 313 case "$resume" in 314 UUID=* ) eval $resume; resume="/dev/disk/by-uuid/$UUID" ;; 315 LABEL=*) eval $resume; resume="/dev/disk/by-label/$LABEL" ;; 316 esac 317 318 if $noresume || ! [ -b "$resume" ]; then return; fi 319 320 ls -lH "$resume" | ( read x x x x maj min x 321 echo -n ${maj%,}:$min > /sys/power/resume ) 322 } 323 308 324 init=/sbin/init 309 325 root= … … 313 329 rootflags= 314 330 device= 331 resume= 332 noresume=false 315 333 316 334 mount -n -t devtmpfs devtmpfs /dev … … 328 346 rootfstype=*) rootfstype=${param#rootfstype=} ;; 329 347 rootflags=* ) rootflags=${param#rootflags=} ;; 348 resume=* ) resume=${param#resume=} ;; 349 noresume ) noresume=true ;; 330 350 ro ) ro="ro" ;; 331 351 rw ) ro="rw" ;; … … 353 373 if [ -n "$rootdelay" ] ; then sleep "$rootdelay" ; fi 354 374 375 do_try_resume # This function will not return if resuming from disk 355 376 do_mount_root 356 377
Note:
See TracChangeset
for help on using the changeset viewer.