mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Create SES firmware update sentinels
This commit is contained in:
@@ -27,6 +27,7 @@ post-install =
|
||||
/usr/bin/touch /boot/kernel/linker.hints
|
||||
/usr/bin/touch /boot/modules/linker.hints
|
||||
/usr/bin/touch /data/.hba_firmware_update
|
||||
/usr/bin/touch /data/.ses_firmware_update
|
||||
|
||||
post-upgrade =
|
||||
has_alembic=$(echo "SELECT name FROM sqlite_master WHERE name = 'alembic_version'" | sqlite3 /data/freenas-v1.db)
|
||||
@@ -54,6 +55,7 @@ post-upgrade =
|
||||
/usr/bin/touch /boot/kernel/linker.hints
|
||||
/usr/bin/touch /boot/modules/linker.hints
|
||||
/usr/bin/touch /data/.hba_firmware_update
|
||||
/usr/bin/touch /data/.ses_firmware_update
|
||||
if [ -c /dev/null ]; then
|
||||
for disk in $(sysctl -n kern.disks); do
|
||||
if gpart show ${disk} | grep -q freebsd-boot; then
|
||||
|
||||
Reference in New Issue
Block a user