>>I think you get away with this on EFI because you use BYTES_TO_PAGES
>>and get page-aligned memory, but I think you should probably round up
>>to the next power of 2 for smaller allocations or to the next page or
>>so for larger allocations.
>
> I think we could allocate at least
For some reason global variables are not seen in a submenu {} section.
Does anyone happen to know why this behavior is useful?
Pseudocode:
set var=val
menuentry "me" {
set
echo "var ${var}"
sleep 3
}
submenu "sm" {
set
echo "var ${var}"
sleep 3
}
Seen with grub 2.02 and 2.04.
Thanks,
Ol
On Wed, Aug 25, 2021 at 03:31:52PM +0200, Erwan Velu wrote:
> Commit 8b1e5d1936fffc490510e85c95f93248453586c1 introduced the support
> of bigtime by adding the some features in inodes V3.
>
> This change extended grub_xfs_inode struct by 76 bytes but also changed the
> computation of XFS_V3_INODE_S
Le lun. 6 sept. 2021 à 12:49, Olaf Hering a écrit :
> For some reason global variables are not seen in a submenu {} section.
> Does anyone happen to know why this behavior is useful?
>
You need to export variable to make it visible in submenu
>
> Pseudocode:
>
> set var=val
> menuentry "me" {
>
On Mon, 30 Aug 2021 20:02:26 +0200
Patrick Steinhardt wrote:
> On Thu, Aug 26, 2021 at 12:08:52AM -0500, Glenn Washburn wrote:
> > Signed-off-by: Glenn Washburn
> > ---
> > grub-core/disk/cryptodisk.c | 26 +-
> > include/grub/cryptodisk.h | 3 +++
> > 2 files changed
On Mon, 30 Aug 2021 19:55:59 +0200
Patrick Steinhardt wrote:
> On Thu, Aug 26, 2021 at 12:08:50AM -0500, Glenn Washburn wrote:
> > As an example, passing a password as a cryptomount argument is
> > implemented. However, the backends are not implemented, so testing
> > this will return a not imple