[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: initramfs-tools confdir mv



maximilian attems wrote:
> belows patch fixes the correct tools dir choice.
> a bit annoyed by svn diff, i did _not_ touch the yaird entry.
> thanks a lot for the quick support.
> 
> 
> Index: debian/postinst
> ===================================================================
> --- debian/postinst	(revision 37758)
> +++ debian/postinst	(working copy)
> @@ -673,19 +673,19 @@
>  		# Figure out how to configure the ramdisk creation tool.
>  		case "$package" in
>  		    initramfs-tools)
> -			ramdiskconf=/target/etc/mkinitramfs/initramfs.conf
> -			;;
> -		    yaird)
> -			ramdiskconf=
> -			;;
> -		    initrd-tools)
>  			if [ -d /target/etc/initramfs-tools ]; then
>  				ramdiskconf=/target/etc/initramfs-tools/mkinitrd.conf
>  			else
>  				# old location
> -				ramdiskconf=/target/etc/mkinitrd/mkinitrd.conf
> +				ramdiskconf=/target/etc/mkinitramfs/initramfs.conf
>  			fi
>  			;;
> +		    yaird)
> +			ramdiskconf=
> +			;;
> +		    initrd-tools)
> +			ramdiskconf=/target/etc/mkinitrd/mkinitrd.conf
> +			;;
>  		    *)
>  			db_subst base-installer/initramfs/unsupported GENERATOR "$package"
>  			exit_error base-installer/initramfs/unsupported
> 

Ah, right, my bad, committed.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: