History

Remove unneeded workaround for dracut<027.

Juan RP committed 13 years ago

Commit f58d6cd1 parent a5068a61 file · +0 −10Browse files

Unified · Split

mklive.sh.in+0−10
@@ -40,14 +40,6 @@ error_out() { · 39 unmodified lines
4040 exit 1
4141 }
4242
43−umount_kernel_fs() {
44− for f in sys/fs/cgroup/systemd sys/fs/cgroup dev/shm dev/pts dev proc sys run; do
45− if [ -d $ROOTFS/kernel_temp/$f ]; then
46− umount $ROOTFS/kernel_temp/$f || true
47− fi
48− done
49−}
50−
5143 write_etc_motd() {
5244 cat >> "$ROOTFS/etc/motd" <<_EOF
5345 ###############################################################################
@@ -158,8 +150,6 @@ generate_initramfs() { · 104 unmodified lines
158150 --add " dmsquash-live vmklive " --${COMPRESSTYPE} \
159151 "/boot/initrd.lz" >>$LOGFILE 2>&1
160152
161− umount_kernel_fs
162−
163153 mv $ROOTFS/kernel_temp/boot/initrd.lz $BOOT_DIR
164154 # We rely on pam now, so let's install the host login config.
165155 install -Dm644 $ROOTFS/kernel_temp/etc/pam.d/login \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t