diff --git a/installer/installer.sh b/installer/installer.sh index b90870c..cb1a4b6 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -414,9 +414,10 @@ ${MOUNT_SPACE} Mbytes copied Installation time: $TIME_ELAPSED minutes" CONFIGURED_FILES="/etc/vconsole.conf /etc/locale.conf \ - /etc/X11/xorg.conf /etc/X11/xorg.conf.d/*.conf" + /etc/X11/xorg.conf /etc/X11/xorg.conf.d/*.conf \ + /etc/localtime /etc/timezone" for f in $CONFIGURED_FILES; do - cp $f ${MOUNTPOINT}/${f} + [ -r $f ] && cp -P $f ${MOUNTPOINT}/${f} done sed -i "/^LANG=.*/d;1s/^/LANG=$LANG\n/" /etc/locale.conf echo @@ -425,14 +426,6 @@ mkdir -p $MOUNTPOINT/{dev,home,media,mnt,proc,run,sys,tmp} chmod 1777 $MOUNTPOINT/tmp chmod 0750 $MOUNTPOINT/root -# create base devices -[ -x /lib/udev/devices/MAKEDEV ] || { - echo $"Error: cannot run MAKEDEV; aborting." >&2 - abort -} - -UDEV_ROOT=$MOUNTPOINT/dev /lib/udev/devices/MAKEDEV - dcop_write $"Binding system dirs to new mountpoint..." 73 echo $"Binding /dev, /proc, /run and /sys to new mountpoint" mount -o bind /dev $MOUNTPOINT/dev || {