Commit 986ace8
committed
Add MakeScriptsExecutable= setting to optionally try to make scripts executable before bailing out
If it fails, it was going to die() anyway.
OBS sources defined inline (ie, not in a tarball) cannot have the mode preserved,
so it's not possible to have mkosi.build or so as a bare script
in an OBS project, one needs to tar it up and extract it again later,
which means it cannot be edited by the inline editor, which is very
convenient for small and trivial builds like an addon.1 parent 814f200 commit 986ace8
File tree
5 files changed
+33
-8
lines changed- mkosi
- resources
- man
- mkosi-obs
- tests
5 files changed
+33
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
652 | 661 | | |
653 | 662 | | |
654 | 663 | | |
655 | 664 | | |
656 | 665 | | |
657 | | - | |
658 | | - | |
| 666 | + | |
659 | 667 | | |
660 | 668 | | |
661 | 669 | | |
| |||
703 | 711 | | |
704 | 712 | | |
705 | 713 | | |
706 | | - | |
707 | | - | |
| 714 | + | |
708 | 715 | | |
709 | 716 | | |
710 | 717 | | |
| |||
2723 | 2730 | | |
2724 | 2731 | | |
2725 | 2732 | | |
2726 | | - | |
2727 | | - | |
| 2733 | + | |
2728 | 2734 | | |
2729 | 2735 | | |
2730 | 2736 | | |
| |||
4592 | 4598 | | |
4593 | 4599 | | |
4594 | 4600 | | |
4595 | | - | |
4596 | | - | |
| 4601 | + | |
4597 | 4602 | | |
4598 | 4603 | | |
4599 | 4604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2151 | 2151 | | |
2152 | 2152 | | |
2153 | 2153 | | |
| 2154 | + | |
2154 | 2155 | | |
2155 | 2156 | | |
2156 | 2157 | | |
| |||
4015 | 4016 | | |
4016 | 4017 | | |
4017 | 4018 | | |
| 4019 | + | |
| 4020 | + | |
| 4021 | + | |
| 4022 | + | |
| 4023 | + | |
| 4024 | + | |
| 4025 | + | |
| 4026 | + | |
4018 | 4027 | | |
4019 | 4028 | | |
4020 | 4029 | | |
| |||
5788 | 5797 | | |
5789 | 5798 | | |
5790 | 5799 | | |
| 5800 | + | |
| 5801 | + | |
5791 | 5802 | | |
5792 | 5803 | | |
5793 | 5804 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1753 | 1753 | | |
1754 | 1754 | | |
1755 | 1755 | | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
1756 | 1760 | | |
1757 | 1761 | | |
1758 | 1762 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| |||
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
| 512 | + | |
511 | 513 | | |
512 | 514 | | |
513 | 515 | | |
| |||
0 commit comments