Browse code

filesystem: do not package /var/run folder

Relay on systemd on boot creation of /var/run symlink to /run

Change-Id: Id9eb83c5f30ae9c7cb7a59e4d2f5ca162d111e00
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4948
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
Tested-by: Anish Swaminathan <anishs@vmware.com>

Alexey Makhalov authored on 2018/03/29 05:02:04
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Default file system
2 2
 Name:		filesystem
3 3
 Version:	1.1
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	GPLv3
6 6
 Group:		System Environment/Base
7 7
 Vendor:		VMware, Inc.
... ...
@@ -36,7 +36,6 @@ install -vdm 755 %{buildroot}/run
36 36
 install -vdm 755 %{buildroot}/run/media
37 37
 install -vdm 755 %{buildroot}/run/media/floppy
38 38
 install -vdm 755 %{buildroot}/run/media/cdrom
39
-install -vdm 755 %{buildroot}/run/lock
40 39
 install -vdm 755 %{buildroot}/sys
41 40
 install -vdm 1777 %{buildroot}/tmp
42 41
 install -vdm 755 %{buildroot}/usr/bin
... ...
@@ -510,11 +509,9 @@ EOF
510 510
 #	media filesystem
511 511
 %dir /run/media/cdrom
512 512
 %dir /run/media/floppy
513
-#	run filesystem
514
-%dir /run/lock
515
-#	usr filesystem
516 513
 %ghost /mnt/cdrom
517 514
 %dir /mnt/hgfs
515
+#	usr filesystem
518 516
 %dir /usr/bin
519 517
 %dir /usr/include
520 518
 %dir /usr/lib
... ...
@@ -581,7 +578,6 @@ EOF
581 581
 %attr(600,root,root)	/var/log/btmp
582 582
 /var/lock
583 583
 %ghost /var/run
584
-/var/run/lock
585 584
 #	Symlinks for AMD64
586 585
 %ifarch x86_64
587 586
 /lib64
... ...
@@ -589,6 +585,8 @@ EOF
589 589
 /usr/local/lib64
590 590
 %endif
591 591
 %changelog
592
+*   Wed Mar 28 2018 Alexey Makhalov <amakhalov@vmware.com> 1.1-3
593
+-   Do not package /var/run as a folder
592 594
 *   Thu Oct 19 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com>  1.1-2
593 595
 -   ghost /mnt/cdrom
594 596
 *   Fri Sep 15 2017 Anish Swaminathan <anishs@vmware.com>  1.1-1