trying override build

Build is successful but fails to run:
```
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted (core dumped)
```
This commit is contained in:
kz6fittycent 2021-09-23 14:52:58 -05:00 committed by GitHub
parent 60f6c89b2a
commit f4afb040a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,14 +44,7 @@ parts:
btop:
source: https://github.com/aristocratos/btop
source-type: git
plugin: make
make-parameters:
- PREFIX=/usr/local
- STATIC=true
build-environment:
- LC_ALL: C.UTF-8
- LANG: C.UTF-8
plugin: nil
build-packages:
- coreutils
- sed
@ -67,11 +60,18 @@ parts:
- build-essential
- gcc-11
- g++-11
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"
override-build: |
mkdir -p $SNAPCRAFT_PART_INSTALL/btop
cd $SNAPCRAFT_PART_INSTALL/btop
make install --prefix=/usr/local
make setuid
make clean
homeishome-launch:
plugin: nil
stage-snaps: