Change "Requires(post)" to "Requires(posttrans)" 96/253796/5 accepted/tizen/unified/20210224.131655 submit/tizen/20210224.001604
authorINSUN PYO <insun.pyo@samsung.com>
Thu, 18 Feb 2021 05:58:11 +0000 (14:58 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Thu, 18 Feb 2021 06:23:33 +0000 (15:23 +0900)
gbs(0.25.15) seems to have a bug.

A gbs tool downloads and uses the AAA_package at build time.
 - Requires(pre):       AAA_package
 - Requires(post):      AAA_package

A gbs tool does not download the AAA_package at build time.
 - Requires:            AAA_package
 - Requires(preun):     AAA_package
 - Requires(postun):    AAA_package
 - Requires(posttrans): AAA_package

Change-Id: I19c681c9103c15f9b08f54c3f9b6bf8a26f76eea

packaging/initrd.spec

index 52391e469c5d5af58057f8ad6f1d81f9f8b9f2d9..7da195e3a8c227bbdddbc6dc440130cad78748ea 100644 (file)
@@ -11,15 +11,15 @@ Source:         %{name}-%{version}.tar.gz
 Source1001:     %{name}.manifest
 Source1:        ramdisk-flush.service
 
-Requires(post): bash
-Requires(post): grep
-Requires(post): coreutils
-Requires(post): util-linux
-Requires(post): e2fsprogs
-Requires(post): btrfs-progs
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-Requires:veritytool
+Requires(posttrans): bash
+Requires(posttrans): grep
+Requires(posttrans): coreutils
+Requires(posttrans): util-linux
+Requires(posttrans): e2fsprogs
+Requires(posttrans): btrfs-progs
+Requires(post):      /sbin/ldconfig
+Requires(postun):    /sbin/ldconfig
+Requires:            veritytool
 
 %description
 initial ramdisk. initrd does mount filesystems(/, /opt, /proc, /sys, /lib/modules).