mirror of
				https://git.proxmox.com/git/pve-kernel-meta
				synced 2025-11-04 09:19:00 +00:00 
			
		
		
		
	We will be using the mechanics also for ZFS systems booting with BIOS legacy boot, and the tool is used also in PMG and PBS. A symlink is kept in place for compatibility reasons The hook scripts are marked as conffiles (as all files in /etc) and are handled by dpkg-maintscript-helper(1) via dh_installdeb(1) Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			392 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			392 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#! /bin/sh
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
# Only run the refresh if update-initramfs has been called manually.
 | 
						|
# If this script is being run as part of a post-kernel-install hook,
 | 
						|
# this variable will be set to 1 and we do nothing, since our pve-kernel
 | 
						|
# hooks will update the ESPs all at once anyway.
 | 
						|
if [ -z "$INITRAMFS_TOOLS_KERNEL_HOOK" ]; then
 | 
						|
	/usr/sbin/proxmox-boot-tool refresh --hook 'zz-proxmox-boot'
 | 
						|
fi
 |