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
40 exit 140 exit 1
41}41}
42 42
43umount_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
51write_etc_motd() {43write_etc_motd() {
52 cat >> "$ROOTFS/etc/motd" <<_EOF44 cat >> "$ROOTFS/etc/motd" <<_EOF
53###############################################################################45###############################################################################
@@ -158,8 +150,6 @@ generate_initramfs() { · 104 unmodified lines
158 --add " dmsquash-live vmklive " --${COMPRESSTYPE} \150 --add " dmsquash-live vmklive " --${COMPRESSTYPE} \
159 "/boot/initrd.lz" >>$LOGFILE 2>&1151 "/boot/initrd.lz" >>$LOGFILE 2>&1
160 152
161 umount_kernel_fs
162
163 mv $ROOTFS/kernel_temp/boot/initrd.lz $BOOT_DIR153 mv $ROOTFS/kernel_temp/boot/initrd.lz $BOOT_DIR
164 # We rely on pam now, so let's install the host login config.154 # We rely on pam now, so let's install the host login config.
165 install -Dm644 $ROOTFS/kernel_temp/etc/pam.d/login \155 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