diff --git a/shim/runtime/v2/rune/v2/rune.go b/shim/runtime/v2/rune/v2/rune.go index 2caaddc0c861f7ba65c2410f1519f08cf971ed45..6f84bb95ad594e7053f4fd80e7d37b1945a83c0c 100644 --- a/shim/runtime/v2/rune/v2/rune.go +++ b/shim/runtime/v2/rune/v2/rune.go @@ -97,9 +97,9 @@ func (s *service) carrierMain(req *taskAPI.CreateTaskRequest) (carrier.Carrier, } timeStart = time.Now() materialRealPath := signingMaterial - if carrierKind == rune.Occlum { - materialRealPath = filepath.Join(req.Bundle, signingMaterial) - } + //if carrierKind == rune.Occlum { + // materialRealPath = filepath.Join(req.Bundle, signingMaterial) + //} if cfg.Signature.ServerAddress == "" { publicKey, signature, err = mockSign(materialRealPath) if err != nil { diff --git a/shim/runtime/v2/rune/v2/service.go b/shim/runtime/v2/rune/v2/service.go index 10f8a9b398707a890c615d64778e1f2c5caf8cb6..691639e008b3bb411a36048441db27d1a11a9d89 100644 --- a/shim/runtime/v2/rune/v2/service.go +++ b/shim/runtime/v2/rune/v2/service.go @@ -329,10 +329,10 @@ func (s *service) Create(ctx context.Context, r *taskAPI.CreateTaskRequest) (_ * timeStart = time.Now() container, err := runc.NewContainer(ctx, s.platform, r) - /*if carr.Name() == "occlum" { + /*//FIXME debug + if carrierKind == "occlum" { //if err != nil { // logrus.Errorf("rune Create NewContainer error: %++v", err) - //FIXME debug if _, err := os.Stat(r.Bundle); err == nil { path := "/tmp/rune-container-test/runc-rootfs" os.RemoveAll(path)