Skip to content

Commit

Permalink
feat(24.04): add libasan6 and libasan8 (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia authored Aug 29, 2024
1 parent 364317b commit 0cb5adf
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
9 changes: 9 additions & 0 deletions slices/gcc-11-base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package: gcc-11-base

essential:
- gcc-11-base_copyright

slices:
copyright:
contents:
/usr/share/doc/gcc-11-base/copyright:
17 changes: 17 additions & 0 deletions slices/libasan6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package: libasan6

essential:
- libasan6_copyright

slices:
libs:
essential:
- libc6_libs
- libgcc-s1_libs
contents:
/usr/lib/*-linux-*/libasan.so.6*:
copyright:
essential:
- gcc-11-base_copyright
contents:
/usr/share/doc/libasan6:
17 changes: 17 additions & 0 deletions slices/libasan8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package: libasan8

essential:
- libasan8_copyright

slices:
libs:
essential:
- libc6_libs
- libgcc-s1_libs
contents:
/usr/lib/*-linux-*/libasan.so.8*:
copyright:
essential:
- gcc-14-base_copyright
contents:
/usr/share/doc/libasan8:
9 changes: 9 additions & 0 deletions tests/spread/integration/libasan6/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
summary: Integration tests for libasan6

execute: |
rootfs="$(install-slices libasan6_libs)"
apt install --update -y gcc
arch=$(gcc -dumpmachine)
test -f ${rootfs}/usr/lib/${arch}/libasan.so.6
9 changes: 9 additions & 0 deletions tests/spread/integration/libasan8/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
summary: Integration tests for libasan8

execute: |
rootfs="$(install-slices libasan8_libs)"
apt install --update -y gcc
arch=$(gcc -dumpmachine)
test -f ${rootfs}/usr/lib/${arch}/libasan.so.8

0 comments on commit 0cb5adf

Please sign in to comment.