New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Without --allow-reinstall the same version of BIOS could still be updated by fwupd #1675
Comments
Can you attach the output of |
|
I did expect to see "VersionFormat: dell" there for 1.3.5... Are you using the snap to get that? |
I installed fwupd from apt. |
Urgh, dell-bios was added in 1.3.6 --- could you install 1.3.6 and see if the issue is fixed there? Thanks. |
If it helps, 1.3.6 is in the snap stable channel now and once an Ubuntu archive administrator releases it, it will be in the proposed channel for Ubuntu focal (https://launchpad.net/ubuntu/+source/fwupd/1.3.6-1) |
Not sure; I hadn't thought too much about the non-legacy backport. I think you'd need quite a few more if you want the default per device verfmt on the standalone cab install. |
I've filed a backport here: #1694. That seems like it should be enough for me from the quick testing I did. ^ @ltmvic51 |
with #1694 applied to 1.2.10, build test failed on "3/15 fu-self-test" check the below link for detail. https://launchpad.net/~ycheng-twn/+archive/ubuntu/fwupd-1.2.10-same-version-install/+build/18530288 |
Can you check if functionality is okay though? I just didn't backport the self test fix. I'll do that tomorrow. |
I verified fwupd 1.3.6, it can check the version in BIOS capsule and block BIOS update accordingly now.
|
Sorry not manage to test patch today. Will do tomorrow. |
#1694 was merged to the 1_2_X branch to backport this fix from 1.3.6. |
for the record, test passed with the first three patch on merged #1694 applied to 1.2.10 on ubuntu bionic. |
@ycheng you might consider to also include 1f579d8 and for fixing SRU https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1858590 as well as the cleanup behavior that you observed. |
In Ubuntu 18.04, I found the same version of BIOS could still be updated by
sudo fwupdmgr install d7baa890b5d2642ebc2eb40a7cb8f990b1f6e42c-Bandon_1.4.1.cab
without--allow-reinstall
.fwupd 1.0.9 (in -update channel):
BIOS update would be blocked by fwupdmgr without --allow-reinstall.
fwupd 1.2.5:
BIOS update would NOT be blocked by fwupdmgr without --allow-reinstall.
fwupd 1.2.10 (in -proposed channel):
BIOS update would NOT be blocked by fwupdmgr without --allow-reinstall.
fwupd 1.3.5:
BIOS update would NOT be blocked by fwupdmgr without --allow-reinstall.
The text was updated successfully, but these errors were encountered: