Combine different blocklets to form a more powerful blocklet.
The service configuration of Parent blocklet and Child blocklet are independent, not unified.
For the specific configuration method of services, see https://github.com/blocklet/blocklet-specification/blob/main/docs/meta.md
- Parent blocklet services are configured in
interface.servicesin parent blocklet.yml
- Child blocklet services are configured in
interface.servicesin child blocklet.yml
children.mountPoints.servicesis configured in parent blocklet.yml, it will be merged with child blocklet.yml
Examples of merger strategies:
name: parent-blocklet interfaces: - name: parentInterfaceName children: - name: child-blocklet resolve: 'xxxx' mountPoints: - root: - interfaceName: parentInterfaceName child: - interfaceName: childInterfaceName services: - name: s1 - name: s2
name: child-blocklet interfaces: - name: childInterfaceName services: - name: s2 - name: s3
Then the services of child blocklet are:
- s1 (from parent
- s2 (from parent
- s3 (from child