mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
make_disc_trees: error out if firmware symlink creation fails
Otherwise failures would go unnoticed, logs would pretend firmware-b43-installer (the first firmware package getting processed) is indeed installed there while it's not. See next commit.
This commit is contained in:
parent
47ae1a293b
commit
b1cb4c43c2
@ -1208,7 +1208,8 @@ sub add_firmware_stuff {
|
||||
}
|
||||
|
||||
msg_ap(0, "Symlink fw package $p into /firmware\n");
|
||||
symlink("../$file", "$dir/firmware/$base_file");
|
||||
symlink("../$file", "$dir/firmware/$base_file")
|
||||
or die "unable to create $dir/firmware/$base_file symlink: $!";
|
||||
msg_ap(0, "Symlink ../$file $dir/firmware/.\n");
|
||||
if (! -d "$dir/firmware") {
|
||||
mkdir "$dir/firmware" or die "mkdir $dir/firmware failed $!\n";
|
||||
|
Loading…
Reference in New Issue
Block a user