Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update busybox.spec trying to move %autosetup in build
Signed-off-by: Roberto A. Foglietta <roberto.foglietta@gmail.com>
  • Loading branch information
robang74 committed Jul 21, 2023
1 parent 120c906 commit 67229f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rpm/busybox.spec
Expand Up @@ -212,10 +212,14 @@ wget -c %{SOURCE0}
%setup -q -n %{name}-%{version}/upstream
%autopatch -M 6
%autosetup -p1 -n %{name}-%{version}/upstream
export prep="DONE"

%build
# TODO: This config should be synced with the dynamic config at some point
# currently the features differ quite a bit
if [ "$prep" != "DONE" ]; then
%autosetup -p1 -n %{name}-%{version}/upstream
fi
cp %{SOURCE2} .config
yes "" | make oldconfig
%make_build CRYPT_AVAILABLE=n
Expand Down

0 comments on commit 67229f7

Please sign in to comment.