Files
buildroot/package
Fabrice Fontaine d7131269b8 package/sudo: fix rmdir
When a previous package (e.g. a custom skeleton) or on a rebuild, the
sudoers.d directory may be non-empty, if the user has installed a custom
config file there, so we do not want to remove the directory if it is
not empty; we just want to remove it if it is empty.

Pass --ignore-fail-on-non-empty to rmdir to fix the following error:

rmdir /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/target/etc/sudoers.d
rmdir: failed to remove '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-2/output/target/etc/sudoers.d': Directory not empty

Fixes:
 - http://autobuild.buildroot.org/results/0cfc61a98760c1d3a98aa0f1e126767881c49abd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - expand commit log to explain why we don't do rm -rf
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2019-11-08 20:15:21 +01:00
..
2019-10-26 09:51:38 +02:00
2019-10-09 23:13:51 +02:00
2019-10-17 09:49:06 +02:00
2019-10-27 10:09:37 +01:00
2019-09-28 23:30:18 +02:00
2019-09-19 22:49:43 +02:00
2019-09-28 22:38:48 +02:00
2019-10-27 12:47:05 +01:00
2019-11-05 22:15:49 +01:00
2019-10-22 20:41:27 +02:00
2019-10-16 22:20:36 +02:00
2019-10-05 22:33:29 +02:00
2019-09-27 23:30:25 +02:00
2019-09-20 23:24:31 +02:00
2019-09-15 15:55:38 +02:00
2019-09-21 22:59:07 +02:00
2019-11-02 22:25:59 +01:00
2019-10-18 11:29:25 +02:00
2019-10-13 22:48:03 +02:00
2019-10-21 21:15:52 +02:00
2019-09-13 22:29:06 +02:00
2019-09-21 15:52:39 +02:00
2019-10-07 22:26:35 +02:00
2019-10-22 23:27:58 +02:00
2019-10-13 22:48:19 +02:00
2019-10-29 10:42:15 +01:00
2019-10-16 22:27:49 +02:00
2019-09-30 22:15:03 +02:00
2019-10-10 23:19:06 +02:00
2019-10-21 23:22:52 +02:00
2019-09-15 22:32:46 +02:00
2019-10-16 22:18:42 +02:00
2019-10-26 16:26:56 +02:00
2019-09-15 22:30:29 +02:00
2019-09-18 17:50:45 +02:00
2019-11-04 21:58:37 +01:00
2019-10-18 16:42:22 +02:00
2019-10-05 23:08:41 +02:00
2019-11-07 21:09:45 +01:00
2019-10-17 09:49:15 +02:00
2019-10-09 23:08:05 +02:00
2019-10-02 23:04:59 +02:00
2019-09-17 21:42:49 +02:00
2019-10-21 21:36:51 +02:00
2019-10-08 23:04:19 +02:00
2019-10-27 10:09:53 +01:00
2019-10-02 23:05:02 +02:00
2019-11-07 21:54:39 +01:00
2019-09-21 23:04:15 +02:00
2019-11-06 22:58:27 +01:00
2019-10-27 16:35:15 +01:00
2019-10-31 23:19:11 +01:00
2019-09-23 22:53:54 +02:00
2019-10-19 20:48:03 +02:00
2019-11-02 22:32:19 +01:00
2019-09-21 23:04:16 +02:00
2019-11-05 21:43:06 +01:00
2019-10-05 23:45:24 +02:00
2019-11-04 21:48:26 +01:00
2019-10-05 23:34:36 +02:00
2019-11-01 08:03:51 +01:00
2019-11-04 22:39:26 +01:00
2019-10-20 15:57:44 +02:00
2019-10-10 00:11:15 +02:00
2019-10-05 16:15:42 +02:00
2019-11-08 20:15:21 +01:00
2019-10-21 23:33:59 +02:00
2019-09-25 21:55:43 +02:00
2019-11-01 11:37:41 +01:00
2019-10-12 15:37:14 +02:00
2019-09-20 23:07:20 +02:00
2019-10-22 20:40:48 +02:00
2019-10-21 21:40:56 +02:00
2019-09-30 23:07:39 +02:00
2019-10-05 23:50:28 +02:00
2019-10-10 23:29:51 +02:00
2019-11-05 21:45:27 +01:00
2019-10-12 00:52:31 +02:00
2019-09-24 23:11:26 +02:00
2019-09-30 23:16:01 +02:00
2019-09-30 23:20:32 +02:00
2019-10-07 23:12:10 +02:00
2019-09-30 23:17:22 +02:00
2019-10-26 12:32:25 +02:00
2019-09-15 21:46:14 +02:00
2019-09-30 23:06:33 +02:00