Changeset 2548
- Timestamp:
- 11/28/07 12:45:23 (5 years ago)
- Location:
- pkg/main/parsix-installer/trunk
- Files:
-
- 4 edited
-
02-install-tools.bm (modified) (1 diff)
-
boot-tools.bm (modified) (2 diffs)
-
debian/changelog (modified) (1 diff)
-
parsix-installer (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pkg/main/parsix-installer/trunk/02-install-tools.bm
r2487 r2548 85 85 # TODO: Remove hack from here 86 86 perl -pi -e "s/insmod/modprobe/g" $TARGET_MNT_POINT/etc/init.d/live-autoconfig 87 [ -e $TARGET_MNT_POINT/etc/default/kde-services-knoppix ] && perl -pi -e 's/^#//g' $TARGET_MNT_POINT/etc/default/kde-services-knoppix88 [ -e $TARGET_MNT_POINT/etc/default/kde-services-kanotix ] && perl -pi -e 's/^#//g' $TARGET_MNT_POINT/etc/default/kde-services-kanotix89 87 fi 90 88 -
pkg/main/parsix-installer/trunk/boot-tools.bm
r2487 r2548 252 252 if [ "$device" != "$HD_CHOICE" ]; then 253 253 if [ "$kindOf" = "linux" ]; then 254 # Do not re-mount in X mode, HAL did it before 255 if [ "$DIALOG" == "dialog" ]; then 256 mount $device $TempDir >/dev/null 2>/dev/null 257 fi 258 if [ $? -eq 0 ] ; then 254 # mount probed partitions 255 mount $device $TempDir >/dev/null 2>/dev/null 256 if [ $? -eq 0 ] ; then 259 257 if [ -r "$mounted_grub_file" ]; then 260 258 found=0 … … 282 280 done < "$mounted_grub_file" 283 281 fi 284 # No need to unmount in X mode 285 if [ "$DIALOG" == "dialog" ]; then 286 umount $TempDir 287 fi 282 # unmount probed partitions 283 umount $TempDir 288 284 fi 289 285 elif [ "$kindOf" = "chain" ]; then -
pkg/main/parsix-installer/trunk/debian/changelog
r2486 r2548 1 parsix-installer (0.81.2.5) unstable; urgency=low 2 3 * Store installation configuration in .pi-config file 4 * Store installation logs in parsix-installer.log 5 * Fixed a bug in appendGrubForOtherOS 6 * Some code clean-ups 7 8 -- Alan Baghumian <alan@technotux.org> Wed, 28 Nov 2007 15:05:39 +0330 9 1 10 parsix-installer (0.81.2.4) unstable; urgency=low 2 11 -
pkg/main/parsix-installer/trunk/parsix-installer
r2487 r2548 20 20 21 21 VERSION="0.81.2" 22 CONFIG_FILE="$HOME/. knofig"23 LOG="$HOME/ .knofig_log"22 CONFIG_FILE="$HOME/.pi-config" 23 LOG="$HOME/parsix-installer.log" 24 24 25 25 TARGET_MNT_POINT="/media/hdinstall" # TR1 in old installer … … 53 53 grep -q squashfs /proc/mounts && ROOT_MIN_RAW=$(($ROOT_MIN_RAW*270/100)) #fix status bar for squashfs 54 54 fi 55 ROOT_MIN_CORR=$[ROOT_MIN_RAW*1 15/100] # + 15% Filesystem overhead55 ROOT_MIN_CORR=$[ROOT_MIN_RAW*120/100] # + 20% Filesystem overhead 56 56 ROOT_MIN=$(($ROOT_MIN_CORR*1024)) 57 57 … … 797 797 done 798 798 799 #################### Create a . knofig-File for the installer ####################799 #################### Create a .pi-config-File for the installer #################### 800 800 ROOT_FSTYPE="$(egrep -v "^([\s]*[^/].*|)$" ./etc/fstab | awk '{if($2=="/"){print $3}}')" 801 801 if ! grep -q "x:1000:1000:" ./etc/passwd; then … … 810 810 [ "$BOOT_WHERE" ] && CONFIG_BOOT_WHERE="$BOOT_WHERE" || CONFIG_BOOT_WHERE="mbr" 811 811 812 cat <<END >$HOME/. knofig812 cat <<END >$HOME/.pi-config 813 813 REGISTERED=' SYSTEM_MODULE SYSTEM_TYPE HD_MODULE HD_FORMAT HD_FSTYPE HD_CHOICE HD_MAP HD_IGNORECHECK SWAP_MODULE SWAP_AUTODETECT NAME_MODULE NAME_NAME USER_MODULE USER_NAME USERPASS_MODULE USERPASS_CRYPT ROOTPASS_MODULE ROOTPASS_CRYPT HOST_MODULE HOST_NAME SERVICES_MODULE SERVICES_START BOOT_MODULE BOOT_LOADER BOOT_DISK BOOT_WHERE INSTALL_READY' 814 814 … … 877 877 878 878 echo 10 879 880 #################### Check knofig ####################881 if which kanotix-check-knofig >/dev/null; then882 kanotix-check-knofig $HOME/.knofig883 ERROR=$?884 if [ $ERROR -ne 0 ]; then885 $DIALOG --backtitle "$BT" --title $"Update Warning" --defaultno --yesno $"ERROR: parsix-check-knofig returned $ERROR as error code!\nDo you want to force the update?" 0 0886 if [ ! $? -eq 0 ]; then887 msgbox $"Update process aborted." 10 50888 exit 0889 fi890 fi891 fi892 879 893 880 #################### Starting Timer ####################
Note: See TracChangeset
for help on using the changeset viewer.


