invoke lsb_release from /target when configuring cdrom source for apt
for some reason lsb_release in the snap is a bit busted. For https://bugs.launchpad.net/subiquity/+bug/1946790
This commit is contained in:
parent
31fa83e79e
commit
adeaf9df50
|
@ -61,7 +61,7 @@ else
|
|||
fi
|
||||
|
||||
cat > "$TARGET_MOUNT_POINT/etc/apt/sources.list" <<EOF
|
||||
deb [check-date=no] file:///cdrom $(lsb_release -sc) main restricted
|
||||
deb [check-date=no] file:///cdrom $(chroot $TARGET_MOUNT_POINT lsb_release -sc) main restricted
|
||||
EOF
|
||||
|
||||
$PY -m curtin in-target -- apt-get update
|
||||
|
|
Loading…
Reference in New Issue