Add apt-get update hook for chroot package installation

- Created apt-update.hook.chroot to run apt-get update before package installation
- Ensures chroot has current package lists from all configured repositories
- Critical for firmware package installation from Devuan and Debian repos
- Runs automatically during live-build process before packages are installed
- Prevents package installation failures due to outdated package lists
parent 59c9fee8
#!/bin/bash
# Update package lists before installing packages
# This ensures the chroot has current package information from all repositories
echo "Updating package lists in chroot..."
apt-get update
echo "Package lists updated successfully"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment