diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-12-03 22:05:08 +0100 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-12-04 21:53:14 +0100 |
commit | ac3b476bf5bfd04975d046dfba3336626d91c630 (patch) | |
tree | fc429c4657a9d272617b66ce011d232ae5849f9c /package/python-django/python-django.mk | |
parent | b67f0a99a94876280c3f5413225576e9e40c2fc8 (diff) | |
download | buildroot-ac3b476bf5bfd04975d046dfba3336626d91c630.tar.gz buildroot-ac3b476bf5bfd04975d046dfba3336626d91c630.zip |
fs/common.mk: make sure that static devices from packages are created
The static devices defined by packages are currently added to the full
device table when two conditions are met:
(1) ROOTFS_DEVICE_TABLES is non-empty
(2) BR2_ROOTFS_DEVICE_CREATION_STATIC=y
(2) is obviously correct. However, depending on (1) is not correct: if
the user doesn't provide any custom permission table and custom device
table, then ROOTFS_DEVICE_TABLES will be empty.
So instead, move the addition of the package-defined static devices
outside of condition (1), and have it only under condition (2).
Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/python-django/python-django.mk')
0 files changed, 0 insertions, 0 deletions