lp:~xnox/debian-cd/focal-boot-next-fix

Created by Dimitri John Ledkov and last modified
Get this branch:
bzr branch lp:~xnox/debian-cd/focal-boot-next-fix
Only Dimitri John Ledkov can upload to this branch. If you are Dimitri John Ledkov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dimitri John Ledkov
Project:
debian-cd
Status:
Development

Recent revisions

2107. By Dimitri John Ledkov on 2021-01-25

focal: boot-amd64: fix boot from next volume

https://launchpad.net/ubuntu/+source/grub2/2.04-1ubuntu26.8 is now in
focal-updates.

2106. By Łukasz Zemczak on 2021-01-21

focal: DEBVERSION=20.04.2

2105. By Steve Langasek on 2021-01-12

Restore the mkdir -p of the install/ directory, without which things fail later on

2102. By Łukasz Zemczak on 2020-12-15

Clean up all the things. Based on xnox's previous clean-up branch.

2101. By Iain Lane on 2020-12-01

common.sh: Use a proper "if" statement for ubuntu-canary in default_kernel_params()

In Bash (and POSIX shell), functions return the return code of the last
statement they executed if there's no other explicit return.

We have a function which ends with a statement like:

  [ $VAR = foo ] && do_something

When the first clause fails, the return code of this statement is 1. The
function returns 1 and, since we are running under set -e, the caller fails and
the script terminates.

Fix this by rewriting to use "if ... then ... fi" instead, which returns 0 if
the condition fails.

For information, note that there is a special case in the spec:

  The -e setting shall be ignored when executing [...] any command of an AND-OR
  list other than the last.

Which is why we terminate at the *caller* and not inside the function, and also
why this would work if we weren't inside a function. By being inside a
function, we effectively defeat this check.

2100. By Łukasz Zemczak on 2020-11-25

Correctly set the layerfs kernel option for the canary image

2099. By Iain Lane on 2020-11-03

CONF.sh: Use distro's xorriso for hirsute

2098. By Łukasz Zemczak on 2020-10-28

HANIMAL -> Hippo

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:debian-cd
This branch contains Public information 
Everyone can see this information.